{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-13756","id":"CVE-2020-13756","title":"Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()","description":"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.","descriptionLong":"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.","published":"2020-06-03T13:46:56.000Z","updated":"2026-10-20T10:51:48.507140720Z","reserved":"2020-06-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"sabberworm/php-css-parser","purl":"pkg:composer/sabberworm/php-css-parser","ranges":[">=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"],"fixed":["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"],"advisory":"GHSA-phrq-v4q2-hmq6"}],"cwes":["CWE-94","CWE-20"],"aliases":["GHSA-phrq-v4q2-hmq6"],"references":[{"url":"https://github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2020/Jun/7","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","web"]},{"url":"http://packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00013.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13756","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sabberworm/php-css-parser/CVE-2020-13756.yaml","tags":["web"]},{"url":"https://packetstormsecurity.com/files/cve/CVE-2020-13756","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.49797,"epssPercentile":0.98923,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-13756","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13756","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-13756","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-phrq-v4q2-hmq6","ok":true,"note":"GHSA-phrq-v4q2-hmq6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-13756","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 50% with CVSS 9.8"],"attention":null}