GHSA-mhfv-8rc9-w38c
HIGHArbitrary shell execution
Uses of shell_exec() and exec() were not escaping filenames and configuration settings in most cases
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | squizlabs/php_codesniffer | >= 1.0.0, < 2.8.1 | 2.8.1 |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/squizlabs/php_codesniffer/2017-03-01.yaml · WEB
- https://github.com/squizlabs/PHP_CodeSniffer · PACKAGE
- https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/2.8.1 · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Mar 2022)