league/commonmark has an embed extension allowed_domains bypass
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.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Thephpleague | Commonmark |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-hh8v-hgvp-g3f5 | league/commonmark has an embed extension allowed_domains bypass |
Ubuntu USN |
USN-8194-1 | league/commonmark vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.256% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
| 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 Markdown parser. From version 2.3.0 to before version 2.8.2, the DomainFilteringAdapter in the Embed extension is vulnerable to an allowlist bypass due to a missing hostname boundary assertion in the domain-matching regex. An attacker-controlled domain like youtube.com.evil passes the allowlist check when youtube.com is an allowed domain. This issue has been patched in version 2.8.2. | |
| Title | league/commonmark has an embed extension allowed_domains bypass | |
| Weaknesses | CWE-185 CWE-79 CWE-918 |
|
| References |
| |
| Metrics |
cvssV4_0
|