Intel

AIKIDO-2025-10334

chrome-php/chrome is vulnerable to CSS injection

CVE-2025-48883Published May 30, 2025
May 30, 2025

15

CVE Score

Low

CSS injection

Are you affected? Scan for Free

TL;DR

Affected versions of this package fail to properly encode CSS selector expressions, allowing an attacker to inject malicious selectors (e.g., input[type='password']). Since quotes and special characters are not properly escaped, the injected selector breaks JavaScript execution, potentially causing application errors or enabling DOM exfiltration. If user-controlled input is passed directly into the selector, an attacker could execute arbitrary JavaScript in the browser's instance. Related PR on chrome-php: https://github.com/chrome-php/chrome/pull/691.

How do I fix this?

Upgrade the chrome-php/chrome library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range, and allow user input into any selectors.

Versions

1.5.0 - 1.13.0

Fixed in 1.14.0

Background info

chrome-php/chrome is vulnerable to CSS injection in versions 1.5.0 - 1.13.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea