CVE-2025-48883: Chrome PHP is missing encoding in `CssSelector`
Impact CSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities. Patches This is patched in v1.14.0. Workarounds Users can apply encoding manually to their selectors, if they are unable to upgrade.
Published May 28, 2025 · Updated May 30, 2025
Affected packages
chrome-php/chrome
- Ecosystem
- Composer (PHP)
- Affected
- < 1.14.0
- Fixed in
- 1.14.0
- Check
composer show chrome-php/chrome
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
CSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities.
Patches
This is patched in v1.14.0.
Workarounds
Users can apply encoding manually to their selectors, if they are unable to upgrade.
Credited to divinity76, GrahamCampbell, enricodias.
References
- https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh
- https://github.com/chrome-php/chrome/pull/691
- https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8
- https://nvd.nist.gov/vuln/detail/CVE-2025-48883
- https://github.com/advisories/GHSA-3432-fmrf-7vmh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
