{"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"}