Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-121008 EUVD-2026-116928GHSA-fcg4-533h-9xx3

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

Published Nov 4, 2026 · Updated Nov 10, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— SQL-Abstract < 2.000001_04 2.000001_04

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsql-abstract-perl No fix yet —
Debian 13 libsql-abstract-perl No fix yet —
Debian 12 libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libsql-abstract-perl No fix yet —
Ubuntu 26.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 24.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 22.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 20.04 LTS libsql-abstract-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libsql-abstract-perl No fix yet —
Ubuntu 16.04 LTS libsql-abstract-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-SQL-Abstract 2.000002-1.1 openSUSE-SU-2026:12469-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-sql-abstract 2.000003-r0 —

Advisories 1

References