Security mailing lists by PureSourceCode

CVE-2020-13756

CRITICAL 9.8CVSS 3.1

Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()

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.

Published
3 Jun 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20CWE-94
Also known as
GHSA-phrq-v4q2-hmq6
Sources
NVDJSONOSV GHSA-phrq-v4q2-hmq6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sabberworm php_css_parser
cpe:2.3:a:sabberworm:php_css_parser:*:*:*:*:*:*:*:*
< 8.3.1 8.3.1
OSV Packagist sabberworm/php-css-parser >= 8.3.0, < 8.3.1 8.3.1
OSV Packagist sabberworm/php-css-parser >= 8.2.0, < 8.2.1 8.2.1
OSV Packagist sabberworm/php-css-parser >= 8.1.0, < 8.1.1 8.1.1
OSV Packagist sabberworm/php-css-parser >= 8.0.0, < 8.0.1 8.0.1
OSV Packagist sabberworm/php-css-parser >= 7.0.0, < 7.0.4 7.0.4
OSV Packagist sabberworm/php-css-parser >= 6.0.0, < 6.0.2 6.0.2
OSV Packagist sabberworm/php-css-parser >= 5.2.0, < 5.2.1 5.2.1
OSV Packagist sabberworm/php-css-parser >= 5.1.0, < 5.1.3 5.1.3
OSV Packagist sabberworm/php-css-parser >= 5.0.0, < 5.0.9 5.0.9
OSV Packagist sabberworm/php-css-parser >= 4.0.0, < 4.0.1 4.0.1
OSV Packagist sabberworm/php-css-parser >= 3.0.0, < 3.0.1 3.0.1
OSV Packagist sabberworm/php-css-parser >= 2.0.0, < 2.0.1 2.0.1
OSV Packagist sabberworm/php-css-parser >= 1.0.0, < 1.0.1 1.0.1

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Jun 2020)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.