What’s Vulnerable › Vulnerabilities

CVE-2020-13756: 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.

Affected products

How to fix

Upgrade to a fixed version: Sabberworm Php Css Parser 8.3.1; Packagist Sabberworm/Php-Css-Parser 8.3.1, 8.2.1, 8.1.1, 8.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-13756 or the next vulnerability affects your stack