Skip to content

CVE-2020-13756 Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()

CriticalCVSS 9.8 EPSS 49.8% Public exploit PoC
Published
Updated
Exploit status
Public exploit available
Technology
PHPUbuntuDebian

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.

Upgrade path

5 packages: 4 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/php-horde-css-parser(Debian 12) = 1.0.11-8; = 1.0.11-8.1; All versions No fix listed No fix yet
sabberworm php css parser < 8.3.1 8.3.1 Fixed
sabberworm/php-css-parser(Packagist) = 1.0.0; = 2.0.0; = 3.0.0; = 4.0.0 +36 more 1.0.1, 2.0.1, 3.0.1, 4.0.1, 5.0.9, 5.1.3, 5.2.1, 6.0.2, 7.0.4, 8.0.1, 8.1.1, 8.2.1, 8.3.1 Fixed
ubuntu/php-horde-css-parser(Ubuntu Pro 16.04) < 1.0.8-1ubuntu1+esm1; = 1.0.7-1; = 1.0.7-2; = 1.0.8-1 +1 more 1.0.8-1ubuntu1+esm1 Fixed
ubuntu/php-horde-css-parser(Ubuntu Pro 18.04) < 1.0.11-1ubuntu1+esm1; = 1.0.11-1; = 1.0.11-1ubuntu1 1.0.11-1ubuntu1+esm1 Fixed

Affected products

ProductAffected versionsFixed in
sabberworm/php-css-parser(Packagist) >= 8.3.0, < 8.3.1 8.3.1
sabberworm/php-css-parser(Packagist) = 8.3.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 8.2.0, < 8.2.1 8.2.1
sabberworm/php-css-parser(Packagist) = 8.2.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 8.1.0, < 8.1.1 8.1.1
sabberworm/php-css-parser(Packagist) = 8.1.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 8.0.0, < 8.0.1 8.0.1
sabberworm/php-css-parser(Packagist) = 8.0.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 7.0.0, < 7.0.4 7.0.4
sabberworm/php-css-parser(Packagist) = 7.0.0 No fix listed
sabberworm/php-css-parser(Packagist) = 7.0.1 No fix listed
sabberworm/php-css-parser(Packagist) = 7.0.2 No fix listed
sabberworm/php-css-parser(Packagist) = 7.0.3 No fix listed
sabberworm/php-css-parser(Packagist) >= 6.0.0, < 6.0.2 6.0.2
sabberworm/php-css-parser(Packagist) = 6.0.0 No fix listed
sabberworm/php-css-parser(Packagist) = 6.0.1 No fix listed
sabberworm/php-css-parser(Packagist) >= 5.2.0, < 5.2.1 5.2.1
sabberworm/php-css-parser(Packagist) = 5.2.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 5.1.0, < 5.1.3 5.1.3
sabberworm/php-css-parser(Packagist) = 5.1.0 No fix listed
sabberworm/php-css-parser(Packagist) = 5.1.1 No fix listed
sabberworm/php-css-parser(Packagist) = 5.1.2 No fix listed
sabberworm/php-css-parser(Packagist) >= 5.0.0, < 5.0.9 5.0.9
sabberworm/php-css-parser(Packagist) = 5.0.0 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.1 No fix listed
Show 27 more
ProductAffected versionsFixed in
sabberworm/php-css-parser(Packagist) = 5.0.2 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.3 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.4 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.5 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.6 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.7 No fix listed
sabberworm/php-css-parser(Packagist) = 5.0.8 No fix listed
sabberworm/php-css-parser(Packagist) >= 4.0.0, < 4.0.1 4.0.1
sabberworm/php-css-parser(Packagist) = 4.0.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 3.0.0, < 3.0.1 3.0.1
sabberworm/php-css-parser(Packagist) = 3.0.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 2.0.0, < 2.0.1 2.0.1
sabberworm/php-css-parser(Packagist) = 2.0.0 No fix listed
sabberworm/php-css-parser(Packagist) >= 1.0.0, < 1.0.1 1.0.1
sabberworm/php-css-parser(Packagist) = 1.0.0 No fix listed
debian/php-horde-css-parser(Debian:12) All versions No fix listed
debian/php-horde-css-parser(Debian:12) = 1.0.11-8 No fix listed
debian/php-horde-css-parser(Debian:12) = 1.0.11-8.1 No fix listed
sabberworm php css parser < 8.3.1 8.3.1
ubuntu/php-horde-css-parser(Ubuntu:Pro:16.04) < 1.0.8-1ubuntu1+esm1 1.0.8-1ubuntu1+esm1
ubuntu/php-horde-css-parser(Ubuntu:Pro:16.04) = 1.0.7-1 No fix listed
ubuntu/php-horde-css-parser(Ubuntu:Pro:16.04) = 1.0.7-2 No fix listed
ubuntu/php-horde-css-parser(Ubuntu:Pro:16.04) = 1.0.8-1 No fix listed
ubuntu/php-horde-css-parser(Ubuntu:Pro:16.04) = 1.0.8-1ubuntu1 No fix listed
ubuntu/php-horde-css-parser(Ubuntu:Pro:18.04) < 1.0.11-1ubuntu1+esm1 1.0.11-1ubuntu1+esm1
ubuntu/php-horde-css-parser(Ubuntu:Pro:18.04) = 1.0.11-1 No fix listed
ubuntu/php-horde-css-parser(Ubuntu:Pro:18.04) = 1.0.11-1ubuntu1 No fix listed

References