Back to feed
EUVD-2022-5057 · Published May 14, 2022
PHP League CommonMark vulnerable to Cross-Site Scripting (XSS) Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library versions 0.15.6 through 0.18.x before 0.18.1 allows remote attackers to insert unsafe URLs into HTML (even if allow_unsafe_links is false) via a newline character (e.g., writing javascript as javascri%0apt).
Technologies
Thephpleague CommonmarkLeague Commonmark
Weaknesses
CWE-79
CVSS scores
- v3.06.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
MITRE ATT&CK
InferredWhere this vulnerability fits in an attack
Initial Access
References
- https://github.com/thephpleague/commonmark/issues/337
- https://commonmark.thephpleague.com/changelog/
- https://github.com/thephpleague/commonmark/releases/tag/0.18.1
- https://nvd.nist.gov/vuln/detail/CVE-2018-20583
- https://commonmark.thephpleague.com/changelog
- https://github.com/FriendsOfPHP/security-advisories/blob/master/league/commonmark/CVE-2018-20583.yaml
Potentially impacted assets
See if this affects your attack surface

