{"api_version":"1","generated_at":"2026-12-02T13:47:36+00:00","cve":"CVE-2026-137164","urls":{"html":"https://cve.report/CVE-2026-137164","api":"https://cve.report/api/cve/CVE-2026-137164.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-137164","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-137164"},"summary":{"title":"Author-supplied CSS classes pass the markdown sanitizer in Varsel","description":"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.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-12-02 13:17:14","updated_at":"2026-12-02 13:17:14"},"problem_types":["CWE-183","CWE-183 CWE-183 Permissive List of Allowed Inputs"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"5.1","severity":"MEDIUM","vector":"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","data":{"version":"4.0","vectorString":"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","baseScore":5.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"5.1","severity":"MEDIUM","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx","name":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cna.erlef.org/cves/CVE-2026-137164.html","name":"https://cna.erlef.org/cves/CVE-2026-137164.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb","name":"https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d","name":"https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-137164","name":"https://osv.dev/vulnerability/EEF-CVE-2026-137164","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137164","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137164","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"erlef-cna","product":"varsel","version":"affected 2026-07-30 2026-12-02 date","platforms":[]},{"source":"CNA","vendor":"erlef-cna","product":"varsel","version":"affected 67807b013f8fe42cb4d25d0084a810b6cbd2947d 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cna.erlef.org","cpes":["cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Varsel.Cases.Markdown'"],"packageName":"cna.erlef.org","product":"varsel","programFiles":["lib/varsel/cases/markdown.ex"],"programRoutines":[{"name":"'Elixir.Varsel.Cases.Markdown':to_html/1"},{"name":"'Elixir.Varsel.Cases.Markdown':to_display_html/2"},{"name":"'Elixir.Varsel.Cases.Markdown':to_comment_html/2"}],"vendor":"erlef-cna","versions":[{"lessThan":"2026-12-02","status":"affected","version":"2026-07-30","versionType":"date"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Varsel.Cases.Markdown'"],"packageName":"erlef-cna/varsel","packageURL":"pkg:github/erlef-cna/varsel","product":"varsel","programFiles":["lib/varsel/cases/markdown.ex"],"programRoutines":[{"name":"'Elixir.Varsel.Cases.Markdown':to_html/1"},{"name":"'Elixir.Varsel.Cases.Markdown':to_display_html/2"},{"name":"'Elixir.Varsel.Cases.Markdown':to_comment_html/2"}],"repo":"https://github.com/erlef-cna/varsel","vendor":"erlef-cna","versions":[{"lessThan":"4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb","status":"affected","version":"67807b013f8fe42cb4d25d0084a810b6cbd2947d","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*","versionEndExcluding":"4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb","versionStartIncluding":"67807b013f8fe42cb4d25d0084a810b6cbd2947d","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"reporter","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-12-02T10:26:06.000Z","datePublic":"2026-12-02T12:07:08.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied <code>class</code> attributes in rendered markdown.</p>\n<p><code>Varsel.Cases.Markdown</code> renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any <code>class</code> and <code>style</code> on <code>div</code>, <code>span</code>, <code>pre</code> and <code>code</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.</p>\n<p>This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.</p>"},{"base64":false,"type":"text/markdown","value":"Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied `class` attributes in rendered markdown.\n\n`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.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-148","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page.</p>"},{"base64":false,"type":"text/markdown","value":"An author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page."}],"value":"An author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-183","description":"CWE-183 Permissive List of Allowed Inputs","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T12:07:09.849Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Author-supplied CSS classes pass the markdown sanitizer in Varsel","tags":["vendor-advisory","related"],"url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx"},{"name":"EEF CNA record for CVE-2026-137164","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-137164.html"},{"name":"OSV record EEF-CVE-2026-137164","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-137164"},{"name":"Introducing commit 67807b0 in erlef-cna/varsel","tags":["related"],"url":"https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d"},{"name":"Fix commit 4c71eb6 in erlef-cna/varsel","tags":["patch"],"url":"https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"}],"source":{"discovery":"INTERNAL"},"title":"Author-supplied CSS classes pass the markdown sanitizer in Varsel"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-137164","datePublished":"2026-12-02T12:07:09.849Z","dateReserved":"2026-11-30T16:55:42.394Z","dateUpdated":"2026-12-02T12:07:09.849Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 13:17:14","lastModifiedDate":"2026-12-02 13:17:14","problem_types":["CWE-183","CWE-183 CWE-183 Permissive List of Allowed Inputs"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":5.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"137164","Ordinal":"1","Title":"Author-supplied CSS classes pass the markdown sanitizer in Varse","CVE":"CVE-2026-137164","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"137164","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Author-supplied CSS classes pass the markdown sanitizer in Varse"}]}}}