CVE-2020-13756Published Jun 3, 2020 · Jun 3Updated Oct 20
Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sabberworm/php-css-parser Packagist |
|
| Product | Affected | Fixed in |
|---|---|---|
| sabberworm/php-css-parser Packagist |
|
≥ 5.0.0 · < 5.0.9≥ 4.0.0 · < 4.0.1≥ 3.0.0 · < 3.0.1≥ 2.0.0 · < 2.0.1≥ 1.0.0 · < 1.0.1
|
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.
From the CVE record · mitre
Sabberworm PHP CSS Parser calls eval on uncontrolled data. Remote code execution is possible if allSelectors() or getSelectorsBySpecificity() is called with attacker-controlled input. Authentication and user-interaction requirements are not specified.
Engineers using the Packagist package sabberworm/php-css-parser should check installations in affected releases from 1.0.0 through versions before 8.3.1, including the listed older release branches.