Author-supplied CSS classes pass the markdown sanitizer in Varsel
Summary
| CVE | CVE-2026-137164 |
|---|---|
| State | PUBLISHED |
| Assigner | EEF |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 13:17:14 UTC |
| Updated | 2026-12-02 13:17:14 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 5.1 MEDIUM from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
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
Problem Types: CWE-183 | CWE-183 CWE-183 Permissive List of Allowed Inputs
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | Secondary | 5.1 | MEDIUM | 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/C... |
| 4.0 | CNA | CVSS | 5.1 | MEDIUM | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
PassiveConfidentiality
NoneIntegrity
LowAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | github.com | |
| cna.erlef.org/cves/CVE-2026-137164.html | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | cna.erlef.org | |
| github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | github.com | |
| github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | github.com | |
| osv.dev/vulnerability/EEF-CVE-2026-137164 | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | osv.dev | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Jonatan Männchen / EEF (en)
CNA: Jonatan Männchen / EEF (en)
CNA: Jonatan Männchen / EEF (en)
CNA: Jonatan Männchen / EEF (en)
There are currently no legacy QID mappings associated with this CVE.