league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| thephpleague | commonmark | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Thephpleague | Commonmark |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-29pj-957v-52mc | league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.355% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Thephpleague
Thephpleague commonmark |
|
| Vendors & Products |
Thephpleague
Thephpleague commonmark |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes | |
| Weaknesses | CWE-692 CWE-79 CWE-86 |
|
| References |
| |
| Metrics |
cvssV3_1
|