CVE-2026-120648
CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment
- Severity
- medium CVSS 6.1 (v3.1)
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- perlPackages.CGI: security issues < 5.00 (#583064)
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)