{"id":"DEBIAN-CVE-2026-120643","details":"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.","modified":"2026-11-04T08:00:09.696468523Z","published":"2026-11-04T00:17:25.773Z","upstream":["CVE-2026-120643"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-120643"}],"affected":[{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.55-1","4.57-1","4.59-1","4.60-1","4.61-1","4.62-1","4.63-1","4.64-1","4.65-1","4.66-1","4.67-1","4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120643.json"}},{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120643.json"}},{"package":{"name":"libcgi-pm-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libcgi-pm-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.68-1","4.70-1","4.71-1","4.72-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120643.json"}}],"schema_version":"1.9.2"}