CVE-2020-13756

Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or…

published June 3, 2020

CVSS
—
EPSS
50%
Percentile
98.9
In the wild
Unconfirmed
What it is

⚠️ A sneaky PHP CSS Parser allows attackers to run code just by manipulating CSS selectors! Imagine a chef who blindly follows a recipe without checking the ingredients – that’s how this flaw works! This vulnerability is like a restaurant accepting any order without verifying what's on the ticket, leading to a potential kitchen disaster. If a malicious actor serves up the wrong CSS styles, they could end up executing whatever code they want on your server! An attacker could gain full control over the server by exploiting the eval function with crafted input. This means they could potentially read sensitive data, change configurations, or damage the application’s integrity – absolutely devastating!

Put simply

This vulnerability is like a restaurant accepting any order without verifying what's on the ticket, leading to a potential kitchen disaster. If a malicious actor serves up the wrong CSS styles, they could end up executing whatever code they want on your server! The Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data provided to the allSelectors() or getSelectorsBySpecificity() functions, allowing for remote code execution if manipulated by an attacker.

What to do

An attacker could gain full control over the server by exploiting the eval function with crafted input. This means they could potentially read sensitive data, change configurations, or damage the application’s integrity – absolutely devastating! Upgrade the Sabberworm PHP CSS Parser to version 8.3.1 or later to close this vulnerability. Additionally, review your code to ensure that input validation is properly implemented and avoid using eval with untrusted data. You've got this! Stay proactive and secure your application with these steps! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.49797 · 98.9th percentile
Published
2020-06-03T13:46Z
EPSS history
Timeline
  • 03 JUN 13:46Z
    Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or…
    cvelistv5