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
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANSQL-Abstract |
< 2.000001_04→ 2.000001_04 |
2.000001_04 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-121008 perl-sql-abstract Fix available
- Debian DEBIAN-CVE-2026-121008 libsql-abstract-perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-121008 libsql-abstract-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web cpan.org