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

critical Affects sabberworm/php-css-parser. Feed 2026.11.23.2, updated 2026-11-23; 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 55% (99.1th percentile)
Published
2022-03-26
Source
osv.dev

References

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

Quick answers

Is CVE-2020-13756 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 55%.

Which version fixes CVE-2020-13756?

sabberworm/php-css-parser: 8.3.1, 8.2.1, 8.1.1.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,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