CVE-2026-58402

MEDIUMNVD 5.45.4
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 93% 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, nvd
5.4
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 5.4Exploit: NoneExposed: 0

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

Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or info-string into the code class="language-…" data-lang="…" wrapper without HTML escaping. A fence info-string containing a quote and a script payload breaks out of the attribute and injects a live script element. This issue is fixed in 0.163.3.

CVSS v3
5.4
EG Score
5.4(medium)
EPSS
6.8%
KEV
Not listed

Published

July 6, 2026

Last Modified

July 8, 2026

Advisory Details (4)

Auto-updated Jul 7, 2026
Patch available. Sources: github_commit, github_pr, github_release, github.
github Patch Available

XSS via unescaped code-fence language in default code block renderer · Advisory · gohugoio/hugo · GitHub

https://github.com/gohugoio/hugo/security/advisories/GHSA-q76j-gcg9-vxc6
github_release Patch Available

v0.163.3

Patch available: gohugoio/hugo v0.163.3

https://github.com/gohugoio/hugo/releases/tag/v0.163.3
github_pr

markup/highlight: Escape lang in default code block rendering

Fix merged in gohugoio/hugo PR #15051 on 2026-06-18 — awaiting tagged release

https://github.com/gohugoio/hugo/pull/15051
github_commit

commit ce1a7e0bce37 (gohugoio/hugo)

Fix landed in gohugoio/hugo commit ce1a7e0bce37 — awaiting tagged release

https://github.com/gohugoio/hugo/commit/ce1a7e0bce3713af40496ded3c2c0ceeed49231d

Weakness Classification(1)

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

Data Freshness Timeline

(refreshed 19× in last 7d / 28× 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-15 16:57 UTCEPSS rescore
  2. 2026-07-15 16:57 UTCEPSS rescore
  3. 2026-07-15 05:31 UTCEG score recompute
  4. 2026-07-15 02:00 UTCEPSS rescore
  5. 2026-07-15 02:00 UTCEPSS rescore
  6. 2026-07-14 06:59 UTCEG score recompute
  7. 2026-07-13 22:31 UTCEPSS rescore
  8. 2026-07-13 08:34 UTCEG score recompute
  9. 2026-07-13 06:13 UTCEPSS rescore
  10. 2026-07-13 06:13 UTCEPSS rescore
  11. 2026-07-12 10:10 UTCEG score recompute
  12. 2026-07-12 05:46 UTCEPSS rescore
  13. 2026-07-11 11:47 UTCEG score recompute
  14. 2026-07-11 08:27 UTCEPSS rescore
  15. 2026-07-11 08:27 UTCEPSS rescore
  16. 2026-07-10 13:25 UTCEG score recompute
  17. 2026-07-09 19:10 UTCEPSS rescore
  18. 2026-07-09 19:10 UTCEPSS rescore
  19. 2026-07-09 14:57 UTCEG score recompute
  20. 2026-07-08 16:34 UTCEG score recompute 0.30
  21. 2026-07-08 15:16 UTCEPSS rescore
  22. 2026-07-08 15:16 UTCEPSS rescore
  23. 2026-07-08 04:32 UTCNVD updateCVSS v3 → 5.4
  24. 2026-07-07 18:12 UTCEG score recompute
  25. 2026-07-07 13:46 UTCEPSS rescore
Show 3 more
  1. 2026-07-07 13:46 UTCEPSS rescore
  2. 2026-07-06 19:46 UTCEG score recompute
  3. 2026-07-06 19:44 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-58402?
CVE-2026-58402 is a medium vulnerability published on July 6, 2026. Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or info-string into the code class="language-…" data-lang="…" wrapper without HTML escaping. A fence info-string containing a quote and a script payload breaks out…
When was CVE-2026-58402 disclosed?
CVE-2026-58402 was first published in the National Vulnerability Database on July 6, 2026, with the most recent update on July 8, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-58402 actively exploited?
CVE-2026-58402 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 6.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-58402?
CVE-2026-58402 has a CVSS v3 base score of 5.4 (NVD).
How do I remediate CVE-2026-58402?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-58402, 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

Explore the affected products and dependency analysis for CVE-2026-58402

Explore →

Is Your Infrastructure Affected by CVE-2026-58402?

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