Skip to content

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

MediumCVSS 5.4 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/libsql-abstract-perl(Debian 12) = 2.000001-2; All versions No fix listed No fix yet
debian/libsql-abstract-perl(Debian 13) = 2.000001-2; All versions No fix listed No fix yet
debian/libsql-abstract-perl(Debian 14) = 2.000001-2; All versions No fix listed No fix yet
ubuntu/libsql-abstract-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libsql-abstract-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libsql-abstract-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libsql-abstract-perl(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/perl-sql-abstract(Alpine v3.24) < 2.000003-r0 2.000003-r0 Fixed
cpan SQL-Abstract < 2.000001_04 2.000001_04 Fixed

Affected products

ProductAffected versionsFixed in
cpan SQL-Abstract < 2.000001_04 2.000001_04
alpine/perl-sql-abstract(Alpine:v3.24) < 2.000003-r0 2.000003-r0
debian/libsql-abstract-perl(Debian:12) All versions No fix listed
debian/libsql-abstract-perl(Debian:14) All versions No fix listed
debian/libsql-abstract-perl(Debian:13) All versions No fix listed
debian/libsql-abstract-perl(Debian:12) = 2.000001-2 No fix listed
debian/libsql-abstract-perl(Debian:13) = 2.000001-2 No fix listed
debian/libsql-abstract-perl(Debian:14) = 2.000001-2 No fix listed
ubuntu/libsql-abstract-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libsql-abstract-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libsql-abstract-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libsql-abstract-perl(Ubuntu:26.10) All versions No fix listed

References