NetSight
medium6.1

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.

Impact

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.

An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected products

ProductAffected versions
CGI
before 5.00

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References