CVE-2020-13756
Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()
Reported by mitre · Published June 3, 2020
sabberworm/php-css-parser is fixed in 8.3.1, 8.2.1, 8.1.1 and 10 more (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sabberworm/php-css-parser | Packagist | 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 |
| php_css_parser | sabberworm | 8.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| sabberworm | php-css-parser | 8.3.0, 8.2.0, 8.1.0 |
Timeline
- Jun 3, 2020 PoC Published (3 in total, the first dated here)
- Jun 3, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jan 12, 2022 VulnCheck KEV Exploitation (2 in total, the first dated here)
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-13756
vulnetix vdb fixes CVE-2020-13756
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-13756/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-13756 advisory
- https://github.com/advisories/GHSA-phrq-v4q2-hmq6 advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sabberworm/php-css-parser/CVE-2020-13756.yaml url
- https://packetstormsecurity.com/files/cve/CVE-2020-13756 url
- https://lists.debian.org/debian-lts-announce/2025/10/msg00013.html url