CVE-2020-13756 — Vulnerability in sabberworm/php-css-parser — CVE...
Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors()
Summary
Advisory Timeline
- First published March 26, 2022 (1662 days ago).
- Last revised November 3, 2025 — 1319 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "sabberworm/php-css-parser:^8.1.1"
composer require "sabberworm/php-css-parser:^8.0.1"
composer require "sabberworm/php-css-parser:^3.0.1"
composer require "sabberworm/php-css-parser:^6.0.2"
composer require "sabberworm/php-css-parser:^1.0.1"
composer require "sabberworm/php-css-parser:^8.3.1"
composer require "sabberworm/php-css-parser:^5.0.9"
composer require "sabberworm/php-css-parser:^5.1.3"
composer require "sabberworm/php-css-parser:^8.2.1"
composer require "sabberworm/php-css-parser:^2.0.1"
composer require "sabberworm/php-css-parser:^4.0.1"
composer require "sabberworm/php-css-parser:^7.0.4"
composer require "sabberworm/php-css-parser:^5.2.1"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (13)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| sabberworm/php-css-parser | packagist | 8.1.0 | 8.1.1 |
| sabberworm/php-css-parser | packagist | 8.0.0 | 8.0.1 |
| sabberworm/php-css-parser | packagist | 3.0.0 | 3.0.1 |
| sabberworm/php-css-parser | packagist | 6.0.0, 6.0.1 | 6.0.2 |
| sabberworm/php-css-parser | packagist | 1.0.0 | 1.0.1 |
| sabberworm/php-css-parser | packagist | 8.3.0 | 8.3.1 |
| sabberworm/php-css-parser | packagist | 5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more) | 5.0.9 |
| sabberworm/php-css-parser | packagist | 5.1.0, 5.1.1, 5.1.2 | 5.1.3 |
| sabberworm/php-css-parser | packagist | 8.2.0 | 8.2.1 |
| sabberworm/php-css-parser | packagist | 2.0.0 | 2.0.1 |
| sabberworm/php-css-parser | packagist | 4.0.0 | 4.0.1 |
| sabberworm/php-css-parser | packagist | 7.0.0, 7.0.1, 7.0.2, 7.0.3 | 7.0.4 |
| sabberworm/php-css-parser | packagist | 5.2.0 | 5.2.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13756ADVISORY
- https://github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sabberworm/php-css-parser/CVE-2020-13756.yamlWEB
- https://github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1WEB
- https://lists.debian.org/debian-lts-announce/2025/10/msg00013.htmlWEB
- https://packetstormsecurity.com/files/cve/CVE-2020-13756WEB
- https://packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.htmlWEB
- https://seclists.org/fulldisclosure/2020/Jun/7WEB
Frequently Asked Questions
- What is CVE-2020-13756?
- Sabberworm PHP CSS Parser Code injection vulnerability in allSelectors() This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2020-13756?
- CVE-2020-13756 affects sabberworm/php-css-parser. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-13756 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107845CRITICAL
Contao: Cross-site scripting in the comments bundle
- CVE-2026-92161CRITICAL
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies