CVE & CISA-KEV Catalog

CVE-2026-48591

MEDIUM
4.8
CVSS v4
NVD

Description

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 version will be released. All releases from 1.4.1 onward are affected, and users should migrate to a maintained Markdown library such as MDEx. This issue affects earmark from 1.4.1 onward.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v4 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone

Impact

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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

Exploit Intelligence

0.13%probability of exploitation in 30 days
3rdpercentile

Low risk: more likely to be exploited than 3% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-83 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-37908Critical9.01.1%-Fix
CVE-2025-4615High7.20.7%-Fix
CVE-2023-32070Critical9.00.7%--
CVE-2022-39262Medium5.20.6%-Fix
CVE-2024-52595High7.70.5%-Fix
CVE-2020-14525Low3.50.5%--

Common questions

How do I fix CVE-2026-48591?

No published fix for CVE-2026-48591 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2026-48591 being actively exploited?

Not that we know of. CVE-2026-48591 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.13% is the estimated probability that it will be exploited in the next 30 days. That is higher than 3% of all scored CVEs.

How severe is CVE-2026-48591?

CVE-2026-48591 has a CVSS v4 base score of 4.8, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

Embed a live status badge for CVE-2026-48591
CVE-2026-48591 severity badge

Markdown

[![CVE-2026-48591](https://tridentstack.com/cve/badge/CVE-2026-48591.svg)](https://tridentstack.com/cve/CVE-2026-48591)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-48591"><img src="https://tridentstack.com/cve/badge/CVE-2026-48591.svg" alt="CVE-2026-48591"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-22.