# 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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-04T14:36:13.201Z
- Modified: 2026-11-12T20:07:11.090Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- SQL-Abstract: before 2.000001_04

## References

- <https://github.com/dbsrgits/sql-abstract/commit/85a75fcde3e09da5181dee07a4eccba76ad94305.patch> (patch)
- <https://metacpan.org/release/GETTY/SQL-Abstract-2.000001_04/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-121008](https://www.cve.org/CVERecord?id=CVE-2026-121008), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-121008](https://nvd.nist.gov/vuln/detail/CVE-2026-121008), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-121008 · Whole record: https://cve.day/CVE-2026-121008.json · Rebuilt by cve.day 2026-11-25T22:59:49.003Z
