CVE-2026-5160
yuin goldmark
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.1
- Severity
- 6.1
- EPSS
- 0.3 %
- Percentile
- 30
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run yuin goldmark. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDVersions 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.
- Vendor / product
- yuin goldmark
- Published
- 15.04.2026
- Modified
- 17.06.2026
- CWE
- CWE-79
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor updates
2- SUSE: SUSE-SU-2026:22994-1 – Security update for mcphost 03.08.2026 · Critical · Patch day
- Microsoft: Mariner 19.04.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.