CVE-2026-120648
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
CGIbefore 5.00CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120648 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-120648 changed 2026-11-09Public domain