CVE-2026-137164: Author-supplied CSS classes pass the markdown sanitizer in Varsel

Published Dec 2, 2026
·
Updated

Summary

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.

Impact

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.

Other sources

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.

— MITRE

Affected Software

2 affected components
erlef-cna cna.erlef.org>=2026-07-30<2026-12-02
erlef-cna Varsel>=67807b013f8fe42cb4d25d0084a810b6cbd2947d<4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb

Event History

Dec 2, 2026
CVE Published
via MITRE·12:07 PM
Data Sourced
via MITRE·12:07 PM
DescriptionWeakness
Data Sourced
via OSV·12:07 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can introduce spoofed content, and who can be targeted?

Any user who can write to a case can introduce it. A commenter on a linked GitHub advisory can also do so without having a Varsel account; the resulting content can be shown to viewers of case pages and public CVE pages.

2

What conditions are needed for exploitation?

The attacker needs the ability to supply markdown containing literal HTML with class attributes. Exploitation relies on the rendered page's stylesheet providing positioning utilities that let attacker-controlled content and a link cover legitimate page content; no script execution is involved.

3

Which deployments are affected?

The affected cna.erlef.org deployment range is from 2026-07-30 before 2026-12-02. For erlef-cna/varsel, affected revisions are from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203