CVE-2026-120648Published Nov 3, 2026 · Nov 3Updated Nov 11
Perl CGI HTML injection in comment rendering
CGI
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| CGI |
| No fix yet |
Original description
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.
From the CVE record · CPANSec