CVE-2026-120638
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

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.

Affected

Product or packageVersionsReported by
CGIbefore 5.00CVE List

Classification

CWE-180CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120638 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-120638 changed 2026-11-09Public domain