Skip to main content
← All vulnerabilities
CVE-2020-13756GHSA-PHRQ-V4Q2-HMQ6

Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelecto

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.3.1, 8.2.1, 8.1.1, 8.0.1, 7.0.4, and 8 more
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • sabberworm/php-css-parserPackagist

    From 8.3.0 · fixed in 8.3.1

  • sabberworm/php-css-parserPackagist

    From 8.2.0 · fixed in 8.2.1

  • sabberworm/php-css-parserPackagist

    From 8.1.0 · fixed in 8.1.1

  • sabberworm/php-css-parserPackagist

    From 8.0.0 · fixed in 8.0.1

  • sabberworm/php-css-parserPackagist

    From 7.0.0 · fixed in 7.0.4

  • sabberworm/php-css-parserPackagist

    From 6.0.0 · fixed in 6.0.2

  • sabberworm/php-css-parserPackagist

    From 5.2.0 · fixed in 5.2.1

  • sabberworm/php-css-parserPackagist

    From 5.1.0 · fixed in 5.1.3

  • sabberworm/php-css-parserPackagist

    From 5.0.0 · fixed in 5.0.9

  • sabberworm/php-css-parserPackagist

    From 4.0.0 · fixed in 4.0.1

  • sabberworm/php-css-parserPackagist

    From 3.0.0 · fixed in 3.0.1

  • sabberworm/php-css-parserPackagist

    From 2.0.0 · fixed in 2.0.1

  • sabberworm/php-css-parserPackagist

    From 1.0.0 · fixed in 1.0.1

References 5

GitHub · sabberworm/PHP-CSS-Parser

seclists.org

packetstormsecurity.com

GitHub · KrE80r/CVE-2020-13756-env