DEBIAN-CVE-2026-5160

Source
https://security-tracker.debian.org/tracker/CVE-2026-5160
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5160.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-5160
Upstream
Published
2026-04-15T06:16:13Z
Modified
2026-09-01T16:06:49Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/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 CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / golang-github-yuin-goldmark

Package

Name
golang-github-yuin-goldmark
Purl
pkg:deb/debian/golang-github-yuin-goldmark?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.4-1
1.5.5-1
1.5.6-1
1.6.0-1
1.7.0-1
1.7.1-1
1.7.4-1
1.7.13-1
1.8.2-1
1.8.2-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5160.json"

Debian:13 / golang-github-yuin-goldmark

Package

Name
golang-github-yuin-goldmark
Purl
pkg:deb/debian/golang-github-yuin-goldmark?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.4-1
1.7.13-1
1.8.2-1
1.8.2-2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5160.json"

Debian:14 / golang-github-yuin-goldmark

Package

Name
golang-github-yuin-goldmark
Purl
pkg:deb/debian/golang-github-yuin-goldmark?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.8.2-1

Affected versions

1.*
1.7.4-1
1.7.13-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5160.json"