CVE-2026-120648: CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
CGI for Perlto a version that resolves this vulnerability.Fixed in 5.00