Описание
marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (sanitize: true) to inject a javascript: URL. This flaw exists because &#xNNanything; gets parsed to what it could and leaves the rest behind, resulting in just anything; being left.
| Релиз | Статус | Примечание |
|---|---|---|
| artful | ignored | end of life |
| bionic | not-affected | 0.3.6+dfsg-1 |
| cosmic | not-affected | 0.3.6+dfsg-1 |
| devel | not-affected | 0.3.6+dfsg-1 |
| disco | not-affected | 0.3.6+dfsg-1 |
| eoan | not-affected | 0.3.6+dfsg-1 |
| esm-apps/bionic | not-affected | 0.3.6+dfsg-1 |
| esm-apps/focal | not-affected | 0.3.6+dfsg-1 |
| esm-apps/jammy | not-affected | 0.3.6+dfsg-1 |
| esm-apps/noble | not-affected | 0.3.6+dfsg-1 |
Показывать по
EPSS
4.3 Medium
CVSS2
6.1 Medium
CVSS3
Связанные уязвимости
marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (`sanitize: true`) to inject a `javascript:` URL. This flaw exists because `&#xNNanything;` gets parsed to what it could and leaves the rest behind, resulting in just `anything;` being left.
marked is an application that is meant to parse and compile markdown. ...
Sanitization bypass using HTML Entities in marked
EPSS
4.3 Medium
CVSS2
6.1 Medium
CVSS3