CVE-2026-120638

Source
https://cve.org/CVERecord?id=CVE-2026-120638
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120638.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-120638
Downstream
Related
Published
2026-11-03T23:40:27Z
Modified
2026-11-11T02:36:40Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect
Details

CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect.

redirect decodes HTML entities in its URL before writing the Location header, so a URL the application has already validated can change meaning. For example, //evil.example/ becomes //evil.example/ and sends the user to another host.

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

Affected packages

Git / github.com/leejo/cgi.pm

Affected ranges

Type
GIT
Repo
https://github.com/leejo/cgi.pm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "7733c2753f4f240012097507cda2b6e87ae46db4"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

4.*
4.69
v3.*
v3.51
v3.52
v3.53
v3.53.1
v3.56
v3.58
v3.61
v3.62
v3.63
v3.64
v3.64-take-three
v4.*
v4.00
v4.01
v4.02
v4.03
v4.05
v4.08
v4.09
v4.10
v4.11
v4.12
v4.13
v4.15
v4.20
v4.21
v4.22
v4.23
v4.24
v4.25
v4.26
v4.27
v4.29
v4.30
v4.31
v4.32
v4.33
v4.34
v4.35
v4.36
v4.37
v4.38
v4.40
v4.41
v4.42
v4.44
v4.45
v4.46
v4.47
v4.48
v4.49
v4.51
v4.53
v4.54
v4.55
v4.56
v4.57
v4.58
v4.59
v4.60
v4.61
v4.62
v4.63
v4.64
v4.65
v4.67
v4.68
v4.70
v4.71
v4.72

Database specific

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