GHSA-ww6p-q26w-fr6m: Phpxmlrpc/extras Cross-Site Scripting Vulnerability
MODERATEGHSA-ww6p-q26w-fr6m is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Phpxmlrpc/extras libraries in the Packagist ecosystem. The issue involves phpxmlrpc/extra xss in class documenting_xmlrpc_server. Remediation is available by upgrading affected packages to version 0.6.1.
GHSA-ww6p-q26w-fr6m at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-ww6p-q26w-fr6m
To remediate this vulnerability, upgrade all affected Phpxmlrpc/extras 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/extras to 0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpxmlrpc/extras
How to Check if You Are Affected
To determine whether your application is affected by GHSA-ww6p-q26w-fr6m, inspect your project dependencies for Phpxmlrpc/extras:
inspect dependencies for phpxmlrpc/extras
Analyze the terminal output to locate any version of Phpxmlrpc/extras in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), 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-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Phpxmlrpc/extras, 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-ww6p-q26w-fr6m Affected Phpxmlrpc/extras Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpxmlrpc/extras
|
Packagist |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is GHSA-ww6p-q26w-fr6m?
Which Phpxmlrpc/extras versions are affected?
What version fixes GHSA-ww6p-q26w-fr6m?
Is phpxmlrpc/extras affected?
What is the CVSS score of GHSA-ww6p-q26w-fr6m?
What CWE is associated with GHSA-ww6p-q26w-fr6m?
How can I check Packagist dependencies for GHSA-ww6p-q26w-fr6m?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ww6p-q26w-fr6m",
"modified" : "2024-05-20T17:14:55Z",
"published" : "2024-05-20T17:14:55Z",
"aliases" : [ ],
"summary" : "phpxmlrpc/extra XSS in class documenting_xmlrpc_server",
"details" : "Versions preceding 0.6.1 of the phpxmlrpc/extras project are susceptible to a Cross-Site Scripting (XSS) vulnerability. This vulnerability exists within the class documenting_xmlrpc_server when processing the GET methodName parameter.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpxmlrpc/extras"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc-extras/commit/65c336e3def9ce71b3e799104d3a6ad15668ddb0"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpxmlrpc/extras/2017-10-29.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gggeek/phpxmlrpc-extras"
}, {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc-extras/releases/tag/0.6.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-80" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-20T17:14:55Z",
"nvd_published_at" : null
}
}