Possible SQL injection in tablelookupwizard Contao ExtensionGHSA-v3mr-gp7j-pw5w
CRITICALFix: terminal42/contao-tablelookupwizard@a5e723aGHSA-v3mr-gp7j-pw5w is a critical-severity (CVSS 9.8) vulnerability in terminal42/contao-tablelookupwizard. A fix is available for terminal42/contao-tablelookupwizard — see the affected versions and patch details below.
Real-World Exposure
terminal42/contao-tablelookupwizardReal-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
Impact
The currently selected widget values were not correctly sanitized before passing it to the database, leading to an SQL injection possibility.
Patches
The issue has been patched in tablelookupwizard version 3.3.5 and version 4.0.0.
For more information
If you have any questions or comments about this advisory:
- Open an issue in https://github.com/terminal42/contao-tablelookupwizard
- Email us at [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | terminal42/contao-tablelookupwizard | all versions | 3.3.5composer require terminal42/contao-tablelookupwizard:^3.3.5 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for terminal42/contao-tablelookupwizard, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update terminal42/contao-tablelookupwizard to 3.3.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v3mr-gp7j-pw5w 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-v3mr-gp7j-pw5w in your dependencies?
Find it across Packagist, including transitive dependencies.