CVEvulnerability
CVE-2026-71478
6.1 MEDIUM
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-08-06
- Last modified
- 2026-10-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-692, CWE-79, CWE-86
Description
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.
Related
References
- https://github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c github.com
- https://github.com/thephpleague/commonmark/releases/tag/2.9.0 github.com
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc github.com
- https://github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc github.com