CVE-2025-48883: Chrome php/chrome Chrome PHP Is Missing Encoding Vulnerability
MODERATECVE-2025-48883 is a MODERATE chrome php is missing encoding vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Chrome php/chrome libraries in the Packagist ecosystem. The issue involves chrome php is missing encoding in `cssselector`. Remediation is available by upgrading affected packages to version 1.14.0.
CVE-2025-48883 at a Glance
How to Fix CVE-2025-48883
To remediate this vulnerability, upgrade all affected Chrome php/chrome dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade chrome-php/chrome to 1.14.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for chrome-php/chrome
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-48883, inspect your project dependencies for Chrome php/chrome:
inspect dependencies for chrome-php/chrome
Analyze the terminal output to locate any version of Chrome php/chrome in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Chrome php/chrome, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48883 Affected Chrome php/chrome Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
chrome-php/chrome
|
Packagist |
< 1.14.0
|
1.14.0
|
References
Frequently Asked Questions
What is CVE-2025-48883?
Which Chrome php/chrome versions are affected?
What version fixes CVE-2025-48883?
Is chrome-php/chrome affected?
What CWE is associated with CVE-2025-48883?
How can I check Packagist dependencies for CVE-2025-48883?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3432-fmrf-7vmh",
"modified" : "2025-05-30T21:40:32Z",
"published" : "2025-05-28T16:06:03Z",
"aliases" : [ "CVE-2025-48883" ],
"summary" : "Chrome PHP is missing encoding in `CssSelector`",
"details" : "### Impact\n\nCSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities.\n\n### Patches\n\nThis is patched in v1.14.0.\n\n### Workarounds\n\nUsers can apply encoding manually to their selectors, if they are unable to upgrade.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "chrome-php/chrome"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.14.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48883"
}, {
"type" : "WEB",
"url" : "https://github.com/chrome-php/chrome/pull/691"
}, {
"type" : "WEB",
"url" : "https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/chrome-php/chrome"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-28T16:06:03Z",
"nvd_published_at" : "2025-05-30T19:15:29Z"
}
}