CVE-2018-20583
MEDIUM6.1EPSS 0.31%PHP League CommonMark vulnerable to Cross-Site Scripting (XSS)
發布日:2022/5/14修改日:2024/2/16
描述
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).
受影響套件(1)
- Packagist/league/commonmark>= 0.15.6, < 0.18.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-20583
- PATCHhttps://github.com/thephpleague/commonmark
- WEBhttps://commonmark.thephpleague.com/changelog
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/league/commonmark/CVE-2018-20583.yaml
- WEBhttps://github.com/thephpleague/commonmark/issues/337
- WEBhttps://github.com/thephpleague/commonmark/releases/tag/0.18.1