Skip to main content
VulnerabilityPublished Updated

CVE-2026-120648: Libcgi pm perl · CGI versions before 5.00 for Perl allow HTML injection via text containing --> in

Affects libcgi-pm-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-120648· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium.

Data as of 12 Nov 2026, 22:19 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.16.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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 12 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=stonkingOther threatsAffected
  • =4.71-1build1
  • =4.72-1
Fixed in–
Ubuntu 26.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=resoluteOther threatsAffected
  • =4.68-1
  • =4.71-1
  • =4.71-1build1
Fixed in–
Ubuntu 24.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=nobleOther threatsAffected
  • 4.57-1 – 4.63-1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=jammyOther threatsAffected
  • =4.51-1
  • =4.53-1
  • =4.54-1
Fixed in–
Ubuntu 20.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=focalOther threatsAffected
  • =4.44-1
  • =4.45-1
  • =4.46-1
Fixed in–
Ubuntu 18.04 LTSlibcgi-pm-perlpkg:deb/ubuntu/libcgi-pm-perl?arch=source&distro=bionicOther threatsAffected
  • =4.36-1
  • =4.37-1
  • =4.38-1
Fixed in–

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

AI-suggested

Until a fix is available, avoid passing untrusted user input containing '-->' to HTML comments or apply manual input sanitization to escape or remove this sequence.

Description

CGI versions before 5.00 for Perl contain an HTML injection vulnerability due to improper handling of text containing the sequence '-->' in comments. This allows an attacker to prematurely close HTML comments and inject arbitrary HTML content into the page when user input is passed to comments without escaping.

References

Community reviews

Loading reviews…