CVE-2026-121008
SQL::Abstract::Tree versions before 2.000001_04 for Perl allow cross-site scripting via unescaped SQL text and bind values in the html profile
- Severity
- medium CVSS 5.4 (v3.1)
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 4 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
SQL::Abstract::Tree versions before 2.000001_04 for Perl allow cross-site scripting via unescaped SQL text and bind values in the html profile.
The html profile wraps keywords and placeholders in span elements and breaks lines with br elements, so its output is meant to go into a page as is. The format method does not HTML-escape the SQL text or the bind values it fills in around that markup.
An application that renders SQL formatted with the html profile, such as in a debug panel or query log, allows an attacker who controls a bind value or part of the SQL text to embed JavaScript in the page.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] SQL-Abstract versions before 2.000001_04 for Perl (3 CVEs)