{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-CGI-2026-120643 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-cgi-2026-120643.json" }, { "category": "external", "summary": "https://github.com/leejo/CGI.pm/commit/851430be84c4d0f350681814e1d7718b9959f2c2.patch", "url": "https://github.com/leejo/CGI.pm/commit/851430be84c4d0f350681814e1d7718b9959f2c2.patch" }, { "category": "external", "summary": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm", "url": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm" }, { "category": "external", "summary": "https://metacpan.org/release/LEEJO/CGI-5.00/changes", "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes" }, { "category": "external", "summary": "CVE-2026-120643 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120643" } ], "title": "CGI vulnerability", "tracking": { "current_release_date": "2026-11-04T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-CGI-2026-120643", "initial_release_date": "2026-11-04T00:00:00", "revision_history": [ { "date": "2026-11-04T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=4.62|<5.02", "product": { "name": "CGI greater than or equal 4.62 and less than 5.02", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/CGI" } } }, { "category": "product_version_range", "name": "vers:cpan/>=5.02", "product": { "name": "CGI greater than or equal 5.02", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/CGI" } } } ], "category": "product_name", "name": "CGI" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-120643", "cwe": { "id": "CWE-79", "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')" }, "notes": [ { "category": "description", "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 6.1, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }