NetSight
medium6.1

CVE-2026-120648

CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment.

Impact

CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment. Arguments are placed between <!-- and --> without escaping, so text containing --> closes the comment early. An application that passes request data to comment can be made to inject HTML into the page.

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