GHSA-ww6p-q26w-fr6m phpxmlrpc/extra XSS in class documenting_xmlrpc_server

Not scored Published

An attacker can inject malicious scripts via the GET methodName parameter in the documenting_xmlrpc_server class, affecting users of the phpxmlrpc/extras library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-ww6p-q26w-fr6m?

GHSA-ww6p-q26w-fr6m is a cross-site scripting vulnerability in phpxmlrpc/extras, published on 20 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by GHSA-ww6p-q26w-fr6m?

2 open source packages ship an affected version, including phpxmlrpc/extras.

PackageAffectedFixed in
phpxmlrpc/extras PackagistAll versions0.6.1
phpxmlrpc/extras PackagistAll versions0.6.1

How do I fix GHSA-ww6p-q26w-fr6m?

Upgrade phpxmlrpc/extras to 0.6.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-ww6p-q26w-fr6m being exploited?

There is no known exploitation of GHSA-ww6p-q26w-fr6m in the wild and no public exploit code.

Sources

Is GHSA-ww6p-q26w-fr6m in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free