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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-692",
"CWE-79",
"CWE-86"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71478.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.5.0"
},
{
"last_affected": "2.8.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "493a5aa7d65754b73846006eaff9c2c4431a8e2c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.9.0",
"range": [
{
"fixed": "5703d83ba3da3b2e356a5fedc848ed6d8ffb6529"
}
],
"source": "REFERENCES_TAG"
}
]
}