Skip to content
Medium 6.1

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

CVE-2026-120648 First seen on SecPulse

Affected packages

PackageAffected → Fixed
CPANCGI
< 5.00→ 5.00

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details