Search/CVE-2026-48591
● CVE

CVE-2026-48591

DiscoveredJun 17, 2026UpdatedOct 25, 2026

Improper Neutralization of Script in Attributes in a Web Page vulnerability in pragdave earmark allows stored cross-site scripting via unescaped HTML attribute values. 'Elixir.Earmark.Transform':_make_att1/2 in lib/earmark/transform.ex splices attribute values verbatim between two literal " bytes: [" ", name, "=\"", value, "\""]. Text nodes are routed through the existing escape function which encodes " as ", but attribute values never visit that path. A markdown link whose URL or title contains a bare " closes the attribute early and lets the trailing bytes be parsed by the browser as fresh HTML attributes. For example, click) renders as click , executing arbitrary JavaScript in the victim's browser. The earmark library is no longer maintained and has been retired on Hex. No patched…

CVSS v3.1
—
EPSS
0.13%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
0
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Sep 25, 2026 → Oct 26, 2026
▼ 0.05pp
0.19% → 0.13% over 2 tracked changes
Connections
1 relationships
Timeline
disclosure → media coverage
Jun 17, 2026
Disclosure — published as a CVE record. · last revised by NVD Oct 25, 2026