Skip to content
Medium 5.1

Author-supplied CSS classes pass the markdown sanitizer in Varsel

CVE-2026-137164 First seen on SecPulse

Affected packages

PackageAffected → Fixed
erlef-cnavarsel
≥ 67807b013f8fe42cb4d25d0084a810b6cbd2947d, < 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb→ 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb
Original description The description as published by the source.

Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied class attributes in rendered markdown.

Varsel.Cases.Markdown renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any class and style on div, span, pre and code. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs.

This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details