code injection in phpxmlrpc/phpxmlrpcGHSA-3fgr-xjr6-xqm8
Fix: gggeek/phpxmlrpc@cf6e605GHSA-3fgr-xjr6-xqm8 is a security vulnerability in phpxmlrpc/phpxmlrpc. A fix is available for phpxmlrpc/phpxmlrpc — see the affected versions and patch details below.
Real-World Exposure
phpxmlrpc/phpxmlrpcReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
code injection in Wrapper::buildClientWrapperCode via manipulation of the $client argument. It was possible to force the client to access local files or connect to undesired urls instead of the intended target server's url.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | phpxmlrpc/phpxmlrpc | all versions | 4.9.0composer require phpxmlrpc/phpxmlrpc:^4.9.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for phpxmlrpc/phpxmlrpc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update phpxmlrpc/phpxmlrpc to 4.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3fgr-xjr6-xqm8 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is GHSA-3fgr-xjr6-xqm8 in your dependencies?
Find it across Packagist, including transitive dependencies.