{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20583","published":"2018-12-30T05:29:00.753000Z","last_modified":"2026-06-17T01:53:07.827000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:thephpleague:commonmark:*:*:*:*:*:*:*:*","part":"a","vendor":"thephpleague","product":"commonmark","version_start_including":"0.15.6","version_end_including":"0.18.0"}],"cpes_truncated":false,"vendors":["thephpleague"],"products":["thephpleague/commonmark"],"epss":{"score":0.01863,"percentile":0.79836,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qx76-c53f-5c7q","ecosystem":"Packagist","name":"league/commonmark","purl":"pkg:composer/league/commonmark","ranges":[{"introduced":"0.15.6","fixed":"0.18.1"}],"versions":["0.15.6","0.15.7","0.16.0","0.17.0","0.17.1","0.17.2","0.17.3","0.17.4","0.17.5","0.18.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2018-20583/","html_en":"/en/cve/CVE-2018-20583/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20583","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20583"},"untrusted":{"vendor_name":"Thephpleague","product_name":"Commonmark","desc_en":"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).","affected":[],"references":[{"url":"https://commonmark.thephpleague.com/changelog/","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/thephpleague/commonmark/issues/337","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/thephpleague/commonmark/releases/tag/0.18.1","tags":["Release Notes","Third Party Advisory"]}]}}