CVE-2026-120212

Source
https://cve.org/CVERecord?id=CVE-2026-120212
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120212.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120212
Downstream
Published
2026-11-10T17:42:05Z
Modified
2026-11-12T02:48:03Z
Summary
Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output
Details

Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.

HTML::Tags and XML::Tags escape a plain string value by replacing only &, ", < and > with entities. A value interpolated into a single-quoted attribute, as in , can therefore close the attribute and add new ones, such as an event handler. Double-quoted attributes are not affected.

An attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page.

Database specific
{
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120212.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0.037"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0.037"
                        }
                    ],
                    "source": "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/p5sagit/web-simple

Affected ranges

Type
GIT
Repo
https://github.com/p5sagit/web-simple
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "fixed": "de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.003
v0.004
v0.009
v0.010
v0.011
v0.012
v0.014
v0.015
v0.016
v0.018
v0.019
v0.020
v0.021
v0.022
v0.023
v0.024
v0.025
v0.026
v0.026_001
v0.027
v0.028
v0.029
v0.030
v0.031
v0.032
v0.033
v0.034
v0.035
v0.036

Database specific

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