CVE-2026-137164
MEDIUM 5.1CVSS 4.0Author-supplied CSS classes pass the markdown sanitizer in Varsel
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Received
- Weakness
- CWE-183
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | MEDIUM 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://cna.erlef.org | cna.erlef.orgcpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:* |
>= 2026-07-30, < 2026-12-02 | 2026-12-02 |
| CVE List | https://github.com | erlef-cna/varselcpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:* |
>= 67807b013f8fe42cb4d25d0084a810b6cbd2947d, < 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb | 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb |
References
- https://cna.erlef.org/cves/CVE-2026-137164.html · related
- https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb · patch
- https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d · related
- https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx · vendor-advisory, related
- https://osv.dev/vulnerability/EEF-CVE-2026-137164 · related
History
- 2 Dec 2026 13:48 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 12:48 UTC · CVE List: first stored (published 2 Dec 2026)