Bug 2566596 (CVE-2026-120643) - CVE-2026-120643 perl-CGI: perl-CGI: Cross-site scripting via unescaped apostrophes in generated URLs
Summary: CVE-2026-120643 perl-CGI: perl-CGI: Cross-site scripting via unescaped apostr...
Keywords:
Status: NEW
Alias: CVE-2026-120643
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-03 23:51 UTC by OSIDB Bzimport
Modified: 2026-11-04 00:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-03 23:51:37 UTC
CGI versions from 4.62 before 5.00 for Perl allow cross-site scripting via a raw apostrophe in URLs returned by url and self_url.

Both pass the URL through URI's canonical method, which leaves an apostrophe in the path raw and decodes the %27 that query parameter escaping produces, so an apostrophe in the request path or a parameter appears raw in the result.

An application that places the URL in a single-quoted HTML attribute or JavaScript string is open to cross-site scripting.


Note You need to log in before you can comment on or make changes to this bug.