Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/leejo/CGI.pm/commit/7733c2753f4f240012097507cda2b6e87ae46db4.
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
FAQ
What is CVE-2026-120638?
CVE-2026-120638 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 Locat...
How severe is CVE-2026-120638?
CVE-2026-120638 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120638?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.