{"id":"CVE-2026-71478","published":"2026-08-06T20:30:32Z","modified":"2026-08-07T17:05:57Z","title":"league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes","vendor":"thephpleague","product":"commonmark","tier":"tail","description":{"text":"league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 1.5.0 until 2.9.0, the AttributesExtension's href and src unsafe-link filter can be bypassed by embedding control bytes, such as a tab, carriage return, line feed, or leading C0 control character, in a javascript: URL that browsers discard before parsing the scheme, causing the browser to still execute the script even when the unsafe-link filter is enabled. This issue is fixed in 2.9.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00355,"percentile":0.29991,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-86","name":"Improper Neutralization of Invalid Characters in Identifiers in Web Pages"},{"id":"CWE-692","name":"Incomplete Denylist to Cross-Site Scripting"}],"references":[{"url":"https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c","tags":["x_refsource_MISC"]},{"url":"https://github.com/thephpleague/commonmark/releases/tag/2.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.0},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"thephpleague","affectedVersions":[{"vendor":"thephpleague","product":"commonmark","versions":[">= 1.5.0, <= 2.8.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T17:04:55.894840Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"league/commonmark","vulnerableRanges":[">=1.5.0, <2.9.0"],"patched":["2.9.0"],"from":["GHSA-29pj-957v-52mc"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-54261","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-46734","published":"2025-05-05","fixed":"2.7.0","kev":false},{"cve":"CVE-2026-30838","published":"2026-03-07","fixed":"2.8.1","kev":false},{"cve":"CVE-2026-33347","published":"2026-03-24","fixed":"2.8.2","kev":false,"link":{"from":"CVE-2026-33347","to":"CVE-2026-71478","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:league/commonmark","fromFixed":"2.8.2","toFixed":"2.9.0","daysApart":135}]}},{"cve":"CVE-2026-71478","published":"2026-08-06","fixed":"2.9.0","kev":false},{"cve":"CVE-2026-71488","published":"2026-08-06","fixed":"2.9.0","kev":false}],"package":"Packagist:league/commonmark"}}