CGI versions before 5.00 for Perl allow open redirects and script injection via URLs built from REQUEST_URI in url and start_form
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANCGI |
< 5.00→ 5.00 |
5.00 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120636 libcgi-pm-perl Fix available
- Ubuntu UBUNTU-CVE-2026-120636 libcgi-pm-perl No fixed version in this record
Original description The description as published by the source.
CGI versions before 5.00 for Perl allow open redirects and script injection via URLs built from REQUEST_URI in url and start_form.
url(-absolute=>1), url(-relative=>1) and the default start_form action are built from the client-supplied REQUEST_URI without validation. The result can be protocol-relative (//evil.example), absolute-form (http://evil.example/) or contain backslashes, and url(-relative=>1) can return a javascript: URL. Links and form posts built from these URLs can go to another host.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web metacpan.org
- web github.com
- web cpan.org