{"id":"CVE-2026-120643","aliases":["CVE-2026-120643"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.\n\nBoth 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.\n\nAn application that places the URL in a single-quoted HTML attribute or JavaScript string is open to cross-site scripting.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nBoth 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.\n\nAn application that places the URL in a single-quoted HTML attribute or JavaScript string is open to cross-site scripting.","source":"cvelist"}],"published":"2026-11-03T23:40:48.770Z","modified":"2026-11-09T20:18:06.357Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"4.62","fixed":"5.00","status":"affected"}],"package":"CGI","repo":"https://github.com/leejo/CGI.pm","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/leejo/CGI.pm/commit/851430be84c4d0f350681814e1d7718b9959f2c2.patch","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-09T19:23:25.982Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120643","url":"https://www.cve.org/CVERecord?id=CVE-2026-120643","licence":"CVE Terms of Use","modified":"2026-11-09T19:24:08.850Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120643","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120643","licence":"Public domain","modified":"2026-11-09T20:18:06.357Z"}],"updatedAt":"2026-11-25T22:59:48.945Z","epss":{"score":0.00318,"percentile":0.26733,"date":"2026-12-01T12:00:22.000Z"}}