Medium
Chrome PHP is missing encoding in `CssSelector`
Type: advisorySources: OSV
Chrome PHP allows users to start playing with chrome/chromium in headless mode from PHP. Prior to version 1.14.0, CSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities. This is patched in v1.14.0. As a workaround, users can apply encoding manually to their selectors if they are unable to upgrade.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-48883
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:26 UTC · Revision 1
Source evidence
Chrome PHP is missing encoding in `CssSelector`
core-osv · Original sourcePublished 30 May 2025, 18:47 UTC
Chrome PHP allows users to start playing with chrome/chromium in headless mode from PHP. Prior to version 1.14.0, CSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities. This is patched in v1.14.0. As a workaround, users can apply encoding manually to their selectors if they are unable to upgrade.
osv:CVE-2025-48883
Complete source record
{
"id": "d03364ec627384889875ef36e753e8ba5a298d3de7a91f4d418d22ab8073127a",
"url": "https://osv.dev/vulnerability/CVE-2025-48883",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Chrome PHP is missing encoding in `CssSelector`",
"summary": "Chrome PHP allows users to start playing with chrome/chromium in headless mode from PHP. Prior to version 1.14.0, CSS Selector expressions are not properly encoded, which can lead to XSS (cross-site scripting) vulnerabilities. This is patched in v1.14.0. As a workaround, users can apply encoding manually to their selectors if they are unable to upgrade.",
"evidence": "osv:CVE-2025-48883",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-48883",
"aliases": [
"CVE-2025-48883",
"GHSA-3432-fmrf-7vmh"
],
"metrics": [
{
"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": [
{
"ranges": [
{
"repo": "https://github.com/chrome-php/chrome",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9dce1e484a6703e487da5e219d39a8d2fb3d8afa"
},
{
"fixed": "34b2b8d1691f4e3940b1e1e95d388fffe81169c8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.14.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "34b2b8d1691f4e3940b1e1e95d388fffe81169c8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.13.0",
"v1.12.0",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.1",
"v1.8.0",
"v1.7.1",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.10.0",
"v0.9.0",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.0",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48883.json"
}
}
],
"modified": "2026-10-28T02:30:27.467018646Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48883.json",
"https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh",
"https://nvd.nist.gov/vuln/detail/CVE-2025-48883",
"https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8",
"https://github.com/chrome-php/chrome/pull/691"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48883.json"
}
},
"related_cves": [
{
"value": "CVE-2025-48883",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493804,
"published_at": "2025-05-30T18:47:42.853+00:00"
}