CVE-2026-120638
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 package | Versions | Reported by |
|---|---|---|
| CGI | before 5.00 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120638 changed 2026-11-09 | CVE Terms of Use |
| NVD | CVE-2026-120638 changed 2026-11-09 | Public domain |