CVE-2026-121008 PUBLISHED

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

Assigner: CPANSec
Reserved: 03.11.2026 Published: 04.11.2026 Updated: 04.11.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.

Product Status

Package Collection https://cpan.org/modules
Package Name SQL-Abstract
Versions Default: unaffected
  • affected from 0 to 2.000001_04 (excl.)

Solutions

Upgrade to SQL-Abstract 2.000001_04 or later.

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE