ADOdb SQL injection vulnerabilityGHSA-h63c-xvpf-264j
Fix: ADOdb/ADOdb#311GHSA-h63c-xvpf-264j is a security vulnerability in adodb/adodb-php. A fix is available for adodb/adodb-php — see the affected versions and patch details below.
Real-World Exposure
adodb/adodb-phpReal-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
The ADOdb Library for PHP prior to version 5.20.11 is prone to SQL Injection vulnerability in multiple drivers.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | adodb/adodb-php | all versions | 5.20.11composer require adodb/adodb-php:^5.20.11 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for adodb/adodb-php, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update adodb/adodb-php to 5.20.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-h63c-xvpf-264j is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is GHSA-h63c-xvpf-264j in your dependencies?
Find it across Packagist, including transitive dependencies.