CVE-2026-120638
Dashboard / Vulnerabilities / CVE-2026-120638
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.
References: https://cpan.org/modules, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120638.json, https://metacpan.org/release/LEEJO/CGI-5.00/changes, https://nvd.nist.gov/vuln/detail/CVE-2026-120638, https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.patch, https://github.com/leejo/CGI.pm, https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
Affected packages
Package
Name:
Purl:
