Skip to main content
VulnerabilityPublished

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-120648· High

Not known to be exploited : upgrade to 5.00 soon.

Data as of 4 Nov 2026, 01:58 UTC

Severity
High

Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 5.00

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.

What to do

Upgrade CGI (Perl module) to 5.00.

Affected software

ProductAffectedFixed in
CGIAffected
  • <5.00
Fixed in
  • 5.00
CPANCGIpkg:cpan/CGIOther threatsAffected
  • <5.00
Fixed in
  • 5.00

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since the vulnerability involves improper escaping of input within HTML comments, developers should avoid placing unescaped user input inside HTML comments or implement proper escaping to prevent premature comment termination. Monitor vendor advisories for any forthcoming patches or official fixes.

Description

CGI versions for Perl prior to 5.00 contain a vulnerability that allows HTML injection when text containing the sequence '-->' is included in comments. This occurs because arguments are placed between <!-- and --> without proper escaping, allowing an attacker to prematurely close the comment and inject HTML content into the page.

References

Community reviews

Loading reviews…