{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-86431","published":"2026-09-07T13:20:42.460000Z","last_modified":"2026-10-08T16:17:57.507000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/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","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*","part":"a","vendor":"thephpleague","product":"commonmark","version_start_including":"2.7.0","version_end_excluding":"2.9.1"}],"cpes_truncated":false,"vendors":["thephpleague"],"products":["thephpleague/commonmark"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f8fg-pg57-v4j8","ecosystem":"Packagist","name":"league/commonmark","purl":"pkg:composer/league/commonmark","ranges":[{"introduced":"2.7.0","fixed":"2.9.1"}],"versions":["2.7.0","2.7.1","2.8.0","2.8.1","2.8.2","2.8.3","2.9.0"],"versions_truncated":false}],"severity":"medium","priority_score":56,"links":{"html_es":"/es/cve/CVE-2026-86431/","html_en":"/en/cve/CVE-2026-86431/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-86431","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-86431"},"untrusted":{"vendor_name":"Thephpleague","product_name":"Commonmark","desc_en":"league/commonmark (thephpleague/commonmark) versions >= 2.7.0 and < 2.9.1 contain a cross-site scripting vulnerability in the AttributesExtension. Prefixing an attribute name with a single U+000C form feed byte (e.g. {\\x0Conclick=\"alert(1)\"}) bypasses the AttributesHelper::filterAttributes() 'on*' event-handler filter because PHP's trim() does not strip U+000C, causing the attribute to be written verbatim into the output where browsers parse it as a genuine event handler. The same prefix also defeats the allow_unsafe_links check, allowing javascript: URIs through href/src attributes even when allow_unsafe_links is false. Exploitation requires processing untrusted Markdown with the AttributesExtension enabled; the injected script executes when the rendered HTML is viewed. Fixed in 2.9.1.","affected":[{"untrusted_vendor":"thephpleague","untrusted_product":"commonmark","versions":[]}],"references":[{"url":"https://github.com/thephpleague/commonmark/commit/43207253ea5f14867c77c697cd3838c446cadcea","tags":["Patch"]},{"url":"https://github.com/thephpleague/commonmark/security/advisories/GHSA-f8fg-pg57-v4j8","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/commonmark-before-2.9.1-xss-via-attributesextension-form-feed-bypass","tags":["Patch","Third Party Advisory"]}]}}