6.1

CVE-2026-5160: yuin goldmark

Analyzed
AliasesUBUNTU-CVE-2026-5160DEBIAN-CVE-2026-5160CGA-24m5-h5qc-hp6q
Published 15-04-2026Last modified 15-04-2026

Vulnerability summary

CVE-2026-5160 is a medium (CVSS 6.1) vulnerability in yuin goldmark. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 21.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 5

Timeline

  1. 15-04-2026
    PublishedVulnerability first disclosed.
  2. 15-04-2026
    Last modifiedVulnerability information updated.

Description

Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript:alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.34% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard200 products
  • chainctl< 0.2.321-r1
  • chainctl-fips< 0.2.321-r1
  • crossplane-2.3-crank< 2.3.3-r35
  • crossplane-aws-glacier-fips< 2.6.0-r2
  • crossplane-aws-monolith< 2.6.0-r3

1 vendor · 200 products · Showing 200 of 457

References

9 links