CVE-2020-13756: Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()
(updated )
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.
References
- github.com/FriendsOfPHP/security-advisories/blob/master/sabberworm/php-css-parser/CVE-2020-13756.yaml
- github.com/advisories/GHSA-phrq-v4q2-hmq6
- github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4
- github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1
- lists.debian.org/debian-lts-announce/2025/10/msg00013.html
- nvd.nist.gov/vuln/detail/CVE-2020-13756
- packetstormsecurity.com/files/cve/CVE-2020-13756
Code Behaviors & Features
Detect and mitigate CVE-2020-13756 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →