Affected versions
Ubuntu16.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/libcgi-pm-perl
- Affected versions
- *
- Fixed version
- Not reported
Description
CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment. Arguments are placed between 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.
Links
- https://github.com/leejo/CGI.pm/commit/6a17eb84703d84bca86b0079f5870ca9c921ffd4
- https://github.com/leejo/CGI.pm/commit/6a17eb84703d84bca86b0079f5870ca9c921ffd4.patch
- https://lists.security.metacpan.org/cve-announce/msg/44875015/
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
- https://ubuntu.com/security/CVE-2026-120648
- https://www.cve.org/CVERecord?id=CVE-2026-120648

