Am I affected?

type your erlef-cna/varsel version to check

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.

Weaknesses & attack patterns

Weakness

CWE-183 · Permissive List of Allowed Inputs in catalog → MITRE ↗

Attack patterns

CAPEC-148 · Content Spoofing MITRE ↗

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.

Affected — erlef-cna / varsel

≥ 2026-07-30 < 2026-12-02 affected
every other version: unaffected
cpe cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*
version type date
modules · source files · routines
modules 'Elixir.Varsel.Cases.Markdown'
source files lib/varsel/cases/markdown.ex
routines 'Elixir.Varsel.Cases.Markdown':to_html/1 · 'Elixir.Varsel.Cases.Markdown':to_display_html/2 · 'Elixir.Varsel.Cases.Markdown':to_comment_html/2

Affected — GitHub / erlef-cna/varsel Repository ↗

≥ 67807b0 < 4c71eb6 affected
every other version: unaffected
cpe cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*
version type git
modules · source files · routines
modules 'Elixir.Varsel.Cases.Markdown'
source files lib/varsel/cases/markdown.ex
routines 'Elixir.Varsel.Cases.Markdown':to_html/1 · 'Elixir.Varsel.Cases.Markdown':to_display_html/2 · 'Elixir.Varsel.Cases.Markdown':to_comment_html/2

References

Credits

Jonatan Männchen / EEF Finder Reporter Coordinator Remediation developer

CVSS breakdown

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

Exploitability

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive

Vulnerable System

Confidentiality
None
Integrity
Low
Availability
None

Subsequent Systems

Confidentiality
None
Integrity
None
Availability
None
« All CVEs