GHSA-pxqj-xrv5-qvjf: Phpxmlrpc/phpxmlrpc Cross-Site Scripting Vulnerability
MODERATEGHSA-pxqj-xrv5-qvjf is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Phpxmlrpc/phpxmlrpc libraries in the Packagist ecosystem. The issue involves xml-rpc for php's debugger vulnerable to possible xss attack. Remediation is available by upgrading affected packages to version 4.9.2.
GHSA-pxqj-xrv5-qvjf at a Glance
How to Fix GHSA-pxqj-xrv5-qvjf
To remediate this vulnerability, upgrade all affected Phpxmlrpc/phpxmlrpc 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 phpxmlrpc/phpxmlrpc to 4.9.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpxmlrpc/phpxmlrpc
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pxqj-xrv5-qvjf, inspect your project dependencies for Phpxmlrpc/phpxmlrpc:
inspect dependencies for phpxmlrpc/phpxmlrpc
Analyze the terminal output to locate any version of Phpxmlrpc/phpxmlrpc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.9.2), 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 Phpxmlrpc/phpxmlrpc, 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
GHSA-pxqj-xrv5-qvjf Affected Phpxmlrpc/phpxmlrpc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpxmlrpc/phpxmlrpc
|
Packagist |
< 4.9.2
|
4.9.2
|
References
Frequently Asked Questions
What is GHSA-pxqj-xrv5-qvjf?
Which Phpxmlrpc/phpxmlrpc versions are affected?
What version fixes GHSA-pxqj-xrv5-qvjf?
Is phpxmlrpc/phpxmlrpc affected?
What CWE is associated with GHSA-pxqj-xrv5-qvjf?
How can I check Packagist dependencies for GHSA-pxqj-xrv5-qvjf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pxqj-xrv5-qvjf",
"modified" : "2023-01-11T23:51:00Z",
"published" : "2023-01-11T23:51:00Z",
"aliases" : [ ],
"summary" : "XML-RPC for PHP's debugger vulnerable to possible XSS attack",
"details" : "The bundled xml-rpc debugger is susceptible to XSS attacks.\n\nSince the debugger is not designed to be exposed to end users but only to the developers using this library, and in the default configuration it is not exposed to requests from the web, the likelihood of exploitation may be low.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpxmlrpc/phpxmlrpc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.9.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc/security/advisories/GHSA-pxqj-xrv5-qvjf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gggeek/phpxmlrpc"
}, {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc/releases/tag/4.9.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-11T23:51:00Z",
"nvd_published_at" : null
}
}