CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANCGI |
< 5.00→ 5.00 |
5.00 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120638 libcgi-pm-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120638 libcgi-pm-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web metacpan.org
- web github.com
- web cpan.org