CPANSA-SQL-Abstract-2026-121008: SQL-Abstract vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-04T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-04T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 5.4 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-121008
Vulnerability DescriptionSQL::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.
| Weakness | CWE-79 : Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| SQL-Abstract less than 2.000001_04 |
|
Fixed
- SQL-Abstract greater than or equal 2.000001_04
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-SQL-Abstract-2026-121008 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-sql-abstract-2026-121008.json - https://github.com/dbsrgits/sql-abstract/commit/85a75fcde3e09da5181dee07a4eccba76ad94305.patch external
https://github.com/dbsrgits/sql-abstract/commit/85a75fcde3e09da5181dee07a4eccba76ad94305.patch - https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes external
https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes - CVE-2026-121008 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-121008
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 4 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/