Vulnerabilites related to chrome-php - chrome
CVE-2025-48883 (GCVE-0-2025-48883)
Vulnerability from cvelistv5
Published
2025-05-30 18:47
Modified
2025-05-30 20:39
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
References
▼ | URL | Tags |
---|---|---|
https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh | x_refsource_CONFIRM | |
https://github.com/chrome-php/chrome/pull/691 | x_refsource_MISC | |
https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8 | x_refsource_MISC |
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
chrome-php | chrome |
Version: < 1.14.0 |
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-48883", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2025-05-30T20:39:32.500536Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-05-30T20:39:45.976Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "chrome", "vendor": "chrome-php", "versions": [ { "status": "affected", "version": "\u003c 1.14.0" } ] } ], "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": [ { "cvssV4_0": { "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 5.3, "baseSeverity": "MEDIUM", "privilegesRequired": "NONE", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "userInteraction": "PASSIVE", "vectorString": "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", "version": "4.0", "vulnAvailabilityImpact": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-79", "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-05-30T18:47:42.853Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/chrome-php/chrome/security/advisories/GHSA-3432-fmrf-7vmh" }, { "name": "https://github.com/chrome-php/chrome/pull/691", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/chrome-php/chrome/pull/691" }, { "name": "https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/chrome-php/chrome/commit/34b2b8d1691f4e3940b1e1e95d388fffe81169c8" } ], "source": { "advisory": "GHSA-3432-fmrf-7vmh", "discovery": "UNKNOWN" }, "title": "Chrome PHP is missing encoding in `CssSelector`" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2025-48883", "datePublished": "2025-05-30T18:47:42.853Z", "dateReserved": "2025-05-27T20:14:34.296Z", "dateUpdated": "2025-05-30T20:39:45.976Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }