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

State
Published
Severity
Not scored
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
  • CWE-601 URL Redirection to Untrusted Site ('Open Redirect')

Affected Products

ProductVersions
CGI
  • before 5.00Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.