---
title: "CVE-2026-120648"
canonical_url: "https://pkgseek.com/security/CVE-2026-120648"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-120648

CGI versions before 5.00 for Perl allow HTML injection via text containing --&gt; in comment.  Arguments are placed between &lt;!-- and --&gt; without escaping, so text containing --&gt; closes the comment early.  An application that passes request data to comment can be made to inject HTML into the page.

CVE-2026-120648 is rated MEDIUM (6.1), with 10 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (6.1)
- **Affected builds**: 10
- **Affected distros**: 3
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libcgi-pm-perl | 4.68-1 | — |
| Fedora | 43 | perl-CGI | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 43 | perl-CGI-tests | 4.70-2.fc43 | 5.02-1.fc43 |
| Fedora | 44 | perl-CGI | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 44 | perl-CGI-tests | 4.71-2.fc44 | 5.02-1.fc44 |
| Fedora | 45 | perl-CGI | 4.72-2.fc45 | 5.02-1.fc45 |
| Fedora | 45 | perl-CGI-tests | 4.72-2.fc45 | 5.02-1.fc45 |
| Ubuntu | focal | libcgi-pm-perl | 4.46-1 | — |
| Ubuntu | jammy | libcgi-pm-perl | 4.54-1 | — |
| Ubuntu | noble | libcgi-pm-perl | 4.63-1 | — |
