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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsql-abstract-perl | No fix yet | — |
| Debian 13 | libsql-abstract-perl | No fix yet | — |
| Debian 12 | libsql-abstract-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libsql-abstract-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libsql-abstract-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-SQL-Abstract | 2.000002-1.1 | openSUSE-SU-2026:12469-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-sql-abstract | 2.000003-r0 | — |
Advisories 1
- openSUSE-SU-2026:12469-1 perl-SQL-Abstract-2.000002-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026