{"id":"CVE-2026-137164","summary":"Author-supplied CSS classes pass the markdown sanitizer in Varsel","details":"Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied class attributes in rendered markdown.\n\nVarsel.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.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.","aliases":["EEF-CVE-2026-137164","GHSA-xq7h-fw5j-9gcx"],"modified":"2026-12-02T14:00:08.909420525Z","published":"2026-12-02T12:07:09.849Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"2026-07-30"},{"fixed":"2026-12-02"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-183"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137164.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-137164.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137164.json"},{"type":"PACKAGE","url":"https://github.com/erlef-cna/varsel"},{"type":"FIX","url":"https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"},{"type":"FIX","url":"https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d"},{"type":"ADVISORY","url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137164"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-137164"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlef-cna/varsel","events":[{"introduced":"67807b013f8fe42cb4d25d0084a810b6cbd2947d"},{"fixed":"4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"},{"fixed":"67807b013f8fe42cb4d25d0084a810b6cbd2947d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"67807b013f8fe42cb4d25d0084a810b6cbd2947d"},{"fixed":"4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"67807b013f8fe42cb4d25d0084a810b6cbd2947d"}]},{"range":[{"fixed":"4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137164.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}