CVE-2026-71478
league/commonmark is a PHP library for parsing and rendering …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/thephpleague/commonmark/security/advisories/GHSA-29pj-957v-52mc
- github.com/thephpleague/commonmark/commit/493a5aa7d65754b73846006eaff9c2c4431a8e2c
- github.com/thephpleague/commonmark/releases/tag/2.9.0
- github.com/advisories/GHSA-29pj-957v-52mc
- nvd.nist.gov/vuln/detail/CVE-2026-71478
- cve.org/CVERecord?id=CVE-2026-71478
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.