CVE-2020-13756
Sabberworm Php Css Parser vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php Css Parser. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sabberworm Php Css Parser runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2020-13756
- github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4
- github.com/FriendsOfPHP/security-advisories/blob/master/sabberworm/php-css-parser/CVE-2020
- github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1
- packetstormsecurity.com/files/cve/CVE-2020-13756
- packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.html
- seclists.org/fulldisclosure/2020/Jun/7
- lists.debian.org/debian-lts-announce/2025/10/msg00013.html
- nvd.nist.gov/vuln/detail/CVE-2020-13756
- cve.org/CVERecord?id=CVE-2020-13756
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.