CVE-2026-48591

MEDIUMPre-NVD 4.84.8
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 4.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Trending — 3 sources updated this week
4.8
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 4.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
4.8
EG Score
4.8(medium)
EPSS
3.2%
KEV
Not listed

Published

June 17, 2026

Last Modified

June 22, 2026

Advisory Details (2)

Auto-updated Jun 18, 2026
No patch confirmed yet.
generic

OSV - Open Source Vulnerabilities

https://osv.dev/vulnerability/EEF-CVE-2026-48591
generic

Stored XSS via unescaped HTML attribute values in earmark | Erlang Ecosystem Foundation CNA

https://cna.erlef.org/cves/CVE-2026-48591.html

Vendor Advisories for CVE-2026-48591(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
erlangearmarkghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
Hex(1)
PackageVulnerable rangeFixed inDependents
earmark1.4.1 ... 1.5.0-pre1 (53 versions)

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 20× in last 7d / 67× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-07 03:23 UTCEG score recompute
  2. 2026-07-07 03:23 UTCGHSA enrichment
  3. 2026-07-06 16:27 UTCEPSS rescore
  4. 2026-07-06 02:23 UTCEPSS rescore
  5. 2026-07-06 01:49 UTCEG score recompute
  6. 2026-07-06 01:49 UTCGHSA enrichment
  7. 2026-07-05 02:30 UTCEPSS rescore
  8. 2026-07-05 00:15 UTCEG score recompute
  9. 2026-07-05 00:15 UTCGHSA enrichment
  10. 2026-07-04 06:31 UTCEPSS rescore
  11. 2026-07-03 22:36 UTCEG score recompute
  12. 2026-07-03 22:36 UTCGHSA enrichment
  13. 2026-07-02 20:55 UTCEG score recompute
  14. 2026-07-02 20:55 UTCGHSA enrichment
  15. 2026-07-01 19:22 UTCEG score recompute
  16. 2026-07-01 19:22 UTCGHSA enrichment
  17. 2026-07-01 15:07 UTCEPSS rescore
  18. 2026-06-30 23:22 UTCEPSS rescore
  19. 2026-06-30 17:48 UTCEG score recompute
  20. 2026-06-30 17:47 UTCGHSA enrichment
  21. 2026-06-29 16:13 UTCEG score recompute
  22. 2026-06-29 16:13 UTCGHSA enrichment
  23. 2026-06-29 14:06 UTCEPSS rescore
  24. 2026-06-29 14:06 UTCEPSS rescore
  25. 2026-06-28 14:39 UTCEG score recompute
Show 42 more
  1. 2026-06-28 14:38 UTCGHSA enrichment
  2. 2026-06-28 14:07 UTCEPSS rescore
  3. 2026-06-28 04:56 UTCEPSS rescore
  4. 2026-06-28 04:56 UTCEPSS rescore
  5. 2026-06-27 13:04 UTCEG score recompute
  6. 2026-06-27 13:03 UTCGHSA enrichment
  7. 2026-06-27 03:08 UTCEPSS rescore
  8. 2026-06-26 11:28 UTCEG score recompute
  9. 2026-06-26 11:28 UTCGHSA enrichment
  10. 2026-06-25 13:49 UTCEPSS rescore
  11. 2026-06-25 06:58 UTCEG score recompute
  12. 2026-06-25 06:57 UTCGHSA enrichment
  13. 2026-06-24 14:05 UTCEPSS rescore
  14. 2026-06-24 05:24 UTCEG score recompute
  15. 2026-06-24 05:23 UTCGHSA enrichment
  16. 2026-06-23 21:33 UTCEPSS rescore
  17. 2026-06-23 21:33 UTCEPSS rescore
  18. 2026-06-23 03:48 UTCEG score recompute
  19. 2026-06-23 03:48 UTCGHSA enrichment
  20. 2026-06-22 14:25 UTCEPSS rescore
  21. 2026-06-22 14:25 UTCEPSS rescore
  22. 2026-06-22 02:11 UTCEG score recompute
  23. 2026-06-22 02:11 UTCGHSA enrichment
  24. 2026-06-21 14:56 UTCEPSS rescore
  25. 2026-06-21 14:56 UTCEPSS rescore
  26. 2026-06-21 01:59 UTCEPSS rescore
  27. 2026-06-21 01:59 UTCEPSS rescore
  28. 2026-06-21 00:35 UTCEG score recompute
  29. 2026-06-21 00:34 UTCGHSA enrichment
  30. 2026-06-19 22:59 UTCEG score recompute
  31. 2026-06-19 22:59 UTCGHSA enrichment
  32. 2026-06-19 19:26 UTCEPSS rescore
  33. 2026-06-19 19:26 UTCEPSS rescore
  34. 2026-06-18 21:25 UTCEG score recompute
  35. 2026-06-18 21:25 UTCGHSA enrichment
  36. 2026-06-18 17:52 UTCEPSS rescore
  37. 2026-06-18 17:52 UTCEPSS rescore
  38. 2026-06-17 19:51 UTCEG score recompute 4.80
  39. 2026-06-17 19:51 UTCGHSA enrichment
  40. 2026-06-17 19:50 UTCNVD updateCVSS v3 → 4.8 · CVSS v4 → 4.8
  41. 2026-06-17 18:44 UTCEG score recompute
  42. 2026-06-17 18:44 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-48591?
CVE-2026-48591 is a medium vulnerability published on June 17, 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':makeatt1/2 in lib/earmark/transform.ex splices attribute values verbatim between two literal " bytes: ["…
When was CVE-2026-48591 disclosed?
CVE-2026-48591 was first published in the National Vulnerability Database on June 17, 2026, with the most recent update on June 22, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-48591 actively exploited?
CVE-2026-48591 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 3.2% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-48591?
CVE-2026-48591 has a CVSS v3 base score of 4.8 (NVD).
How do I remediate CVE-2026-48591?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48591, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-48591

Explore →

Is Your Infrastructure Affected by CVE-2026-48591?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.