CVE-2026-120638
CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect
- Severity
- medium CVSS 6.1 (v3.1)
- Weakness
- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- perlPackages.CGI: security issues < 5.00 (#583064)
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)