{"id":"CVE-2026-112307","published":"2026-10-19T16:17:06.727","lastModified":"2026-10-19T17:17:15.780","description":"sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs.","cvssScore":7.3,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py","tags":[]},{"url":"https://github.com/andialbrecht/sqlparse/pull/930","tags":[]},{"url":"https://www.vulncheck.com/advisories/sqlparse-through-0.6.0-php-code-injection-via-output-format-php","tags":[]}],"exploitRefs":[{"url":"https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py","tags":[]},{"url":"https://github.com/andialbrecht/sqlparse/pull/930","tags":[]}],"hasPoc":true,"ai":null}