medium5.3
CVE-2025-48883
Chrome PHP is missing encoding in `CssSelector`
Impact
### 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | chrome-php/chrome | < 1.14.0 | 1.14.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8
- https://github.com/chrome-php/chrome/pull/691
- https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh
- https://github.com/advisories/GHSA-3432-fmrf-7vmh
- https://nvd.nist.gov/vuln/detail/CVE-2025-48883