Author-supplied CSS classes pass the markdown sanitizer in Varsel
CVE-2026-137164Published 2 Dec 2026, 12:07 UTC
Real-world risk
1.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| varselNiche | >= 2026-07-30, < 2026-12-02 | 2026-12-02 |
What to do
Update to a fixed version: 2026-12-02.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.42 × threat 0.851.071
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-183
References
- https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcxrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-137164.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-137164related
- https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947drelated
- https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecbpatch
- CVE-2026-137164 on CVE.org