CVE-2026-120648
Dashboard / Vulnerabilities / CVE-2026-120648
Summary: CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment
Details: 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.
References: https://cpan.org/modules, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120648.json, https://metacpan.org/release/LEEJO/CGI-5.00/changes, https://nvd.nist.gov/vuln/detail/CVE-2026-120648, https://github.com/leejo/CGI.pm/commit/6a17eb84703d84bca86b0079f5870ca9c921ffd4.patch, https://github.com/leejo/CGI.pm, https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
Affected packages
Package
Name:
Purl:
