{"id":"CVE-2020-13756","published":"2020-06-03T13:46:56Z","modified":"2025-11-03T17:30:46Z","title":"Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or getSelectorsBySpecificity() is called with input from an attacker.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in the Sabberworm PHP CSS Parser library, where it calls eval on uncontrolled data within its selector-handling functions. An attacker who can supply input to the allSelectors() or getSelectorsBySpecificity() functions could potentially achieve remote code execution, provided the application passes attacker-controlled data to those functions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-03T14:46:40Z"},"cvss":null,"epss":{"score":0.55084,"percentile":0.9905,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-01-12","exploitedFirstSeen":"2022-01-12","ransomware":false,"evidence":[{"url":"https://blog.checkpoint.com/security/december-2021s-most-wanted-malware-trickbot-emotet-and-the-log4j-plague/","date":"2022-01-12"},{"url":"https://blog.checkpoint.com/security/april-2022s-most-wanted-malware-a-shake-up-in-the-index-but-emotet-is-still-on-top/","date":"2022-05-11"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4","tags":["x_refsource_MISC"]},{"url":"https://github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2020/Jun/7","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00013.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=8.3.0, <8.3.1",">=8.2.0, <8.2.1",">=8.1.0, <8.1.1",">=8.0.0, <8.0.1",">=7.0.0, <7.0.4",">=6.0.0, <6.0.2",">=5.2.0, <5.2.1",">=5.1.0, <5.1.3",">=5.0.0, <5.0.9",">=4.0.0, <4.0.1",">=3.0.0, <3.0.1",">=2.0.0, <2.0.1",">=1.0.0, <1.0.1"],"patched":["8.3.1","8.2.1","8.1.1","8.0.1","7.0.4","6.0.2","5.2.1","5.1.3","5.0.9","4.0.1","3.0.1","2.0.1","1.0.1"],"from":["GHSA-phrq-v4q2-hmq6"],"provenance":"source"}],"advisories":[{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=8.3.0, <8.3.1"],"patched":["8.3.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=8.2.0, <8.2.1"],"patched":["8.2.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=8.1.0, <8.1.1"],"patched":["8.1.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=8.0.0, <8.0.1"],"patched":["8.0.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=7.0.0, <7.0.4"],"patched":["7.0.4"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=6.0.0, <6.0.2"],"patched":["6.0.2"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=5.2.0, <5.2.1"],"patched":["5.2.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=5.1.0, <5.1.3"],"patched":["5.1.3"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=5.0.0, <5.0.9"],"patched":["5.0.9"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=4.0.0, <4.0.1"],"patched":["4.0.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=3.0.0, <3.0.1"],"patched":["3.0.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=2.0.0, <2.0.1"],"patched":["2.0.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-phrq-v4q2-hmq6","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","severity":"CRITICAL","ecosystem":"Packagist","package":"sabberworm/php-css-parser","vulnerableRanges":[">=1.0.0, <1.0.1"],"patched":["1.0.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-1499","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1499","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-12-06","earliestUrl":"https://github.com/KrE80r/CVE-2020-13756-env","repos":[{"name":"KrE80r/CVE-2020-13756-env","url":"https://github.com/KrE80r/CVE-2020-13756-env","stars":0,"created":"2025-12-06"}]},"first":{"date":"2025-12-06","source":"PoC-in-GitHub","url":"https://github.com/KrE80r/CVE-2020-13756-env"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.html"],"flow":[],"timeline":[{"date":"2020-06-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-13756","provenance":"source"},{"date":"2022-01-12","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://blog.checkpoint.com/security/december-2021s-most-wanted-malware-trickbot-emotet-and-the-log4j-plague/","provenance":"source"},{"date":"2025-12-06","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/KrE80r/CVE-2020-13756-env","provenance":"source"}],"speed":{"daysToPublicExploit":2012,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":59.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1776 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.81,"detail":"percentile 0.9905"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}