Live threats

All CVEs / Sabberworm

CVE-2020-13756Sabberworm Php Css Parser

Critical 9.8 No auth neededHigh EPSS

Priority
79
CVSS 3.1
9.8
EPSS
55.1%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jun 3, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php Css Parser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist sabberworm/php-css-parser ≥ 8.3.0 < 8.3.1 8.3.1 composer require "sabberworm/php-css-parser:^8.3.1"
Packagist sabberworm/php-css-parser ≥ 8.2.0 < 8.2.1 8.2.1 composer require "sabberworm/php-css-parser:^8.2.1"
Packagist sabberworm/php-css-parser ≥ 8.1.0 < 8.1.1 8.1.1 composer require "sabberworm/php-css-parser:^8.1.1"
Packagist sabberworm/php-css-parser ≥ 8.0.0 < 8.0.1 8.0.1 composer require "sabberworm/php-css-parser:^8.0.1"
Packagist sabberworm/php-css-parser ≥ 7.0.0 < 7.0.4 7.0.4 composer require "sabberworm/php-css-parser:^7.0.4"
Packagist sabberworm/php-css-parser ≥ 6.0.0 < 6.0.2 6.0.2 composer require "sabberworm/php-css-parser:^6.0.2"
Packagist sabberworm/php-css-parser ≥ 5.2.0 < 5.2.1 5.2.1 composer require "sabberworm/php-css-parser:^5.2.1"
Packagist sabberworm/php-css-parser ≥ 5.1.0 < 5.1.3 5.1.3 composer require "sabberworm/php-css-parser:^5.1.3"
Packagist sabberworm/php-css-parser ≥ 5.0.0 < 5.0.9 5.0.9 composer require "sabberworm/php-css-parser:^5.0.9"
Packagist sabberworm/php-css-parser ≥ 4.0.0 < 4.0.1 4.0.1 composer require "sabberworm/php-css-parser:^4.0.1"
Packagist sabberworm/php-css-parser ≥ 3.0.0 < 3.0.1 3.0.1 composer require "sabberworm/php-css-parser:^3.0.1"
Packagist sabberworm/php-css-parser ≥ 2.0.0 < 2.0.1 2.0.1 composer require "sabberworm/php-css-parser:^2.0.1"
Packagist sabberworm/php-css-parser ≥ 1.0.0 < 1.0.1 1.0.1 composer require "sabberworm/php-css-parser:^1.0.1"

Per OSV / GitHub Advisories (GHSA-phrq-v4q2-hmq6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sabberwormphp_css_parser< 8.3.1

Official sources

References

Links published by the sources. Open them with care.