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

critical Affects sabberworm/php-css-parser. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()

Package
sabberworm/php-css-parser Composer
Affected versions
>=8.3.0 and <8.3.1 or >=8.2.0 and <8.2.1 or >=8.1.0 and <8.1.1 or >=8.0.0 and <8.0.1 or >=7.0.0 and <7.0.4 or >=6.0.0 and <6.0.2 or >=5.2.0 and <5.2.1 or >=5.1.0 and <5.1.3 or >=5.0.0 and <5.0.9 or >=4.0.0 and <4.0.1 or >=3.0.0 and <3.0.1 or >=2.0.0 and <2.0.1 or >=1.0.0 and <1.0.1
Fixed in
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
Severity
critical  CVSS 9.8
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-03-26
Source
osv.dev

References

CWE-20CWE-94
NVD recordsabberworm/php-css-parser advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories