You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SQL Injection Vulnerability in PostgreSQL Driver #120
File:/src/Ting/Driver/Pgsql/Driver.php Line: 443 Severity: HIGH
$sql = "SELECT currval('$sequenceName')";
Issue: Direct string interpolation of $sequenceName parameter into SQL query without proper escaping or parameterization. This creates a potential SQL injection vulnerability.
Impact: An attacker could potentially execute arbitrary SQL commands if they can control the sequence name parameter.
Recommendation: Use parameterized queries or proper escaping:
Activity
Fix ccmbenchmark#120: SQL Injection Vulnerability in PostgreSQL Driver
BenMacha commentedon Oct 31, 2026
Fixed upstream in 8e84ea9 (released in 4.1.1).