CVE-2026-121008

Source
https://cve.org/CVERecord?id=CVE-2026-121008
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-121008.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-121008
Downstream
Related
Published
2026-11-04T14:36:13Z
Modified
2026-11-07T17:27:17Z
Summary
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
Details

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.

Database specific
{
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121008.json"
}
References

Affected packages

Git / github.com/dbsrgits/sql-abstract

Affected ranges

Type
GIT
Repo
https://github.com/dbsrgits/sql-abstract
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.000001_04"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "85a75fcde3e09da5181dee07a4eccba76ad94305"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.70
v1.71
v1.72
v1.73
v1.73_01
v1.74
v1.75
v1.77
v1.78
v1.79
v1.80
v1.81
v1.81_01
v1.82
v1.83
v1.84
v1.85
v1.86
v1.87
v2.*
v2.000000
v2.000001
v2.000001_01
v2.000001_02
v2.000001_03

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-121008.json"