{"id":"CVE-2026-120640","aliases":["CVE-2026-120640"],"related":[],"kind":"vulnerability","state":"published","title":"CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields","summary":"CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields.\n\nCGI stores a non-form request body under POSTDATA, PUTDATA or PATCHDATA, and an XForms body under XForms:Model, but also accepts these names from the query string, a form field or a multipart part, so an application cannot tell a client-sent value from the real body.\n\nA cross-site HTML form can post POSTDATA={\"admin\":true} to an endpoint that reads JSON from param('POSTDATA'), a request forgery that needs no CORS preflight.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CGI versions before 5.00 for Perl allow the POSTDATA, PUTDATA, PATCHDATA and XForms:Model parameters to be set from the query string or form fields.\n\nCGI stores a non-form request body under POSTDATA, PUTDATA or PATCHDATA, and an XForms body under XForms:Model, but also accepts these names from the query string, a form field or a multipart part, so an application cannot tell a client-sent value from the real body.\n\nA cross-site HTML form can post POSTDATA={\"admin\":true} to an endpoint that reads JSON from param('POSTDATA'), a request forgery that needs no CORS preflight.","source":"cvelist"}],"published":"2026-11-03T23:40:33.770Z","modified":"2026-11-09T20:18:05.343Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"0","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/bc4022f553301014e522133ba1e1f4e49e3bef08.patch","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-09T19:38:52.498Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120640","url":"https://www.cve.org/CVERecord?id=CVE-2026-120640","licence":"CVE Terms of Use","modified":"2026-11-09T19:39:30.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120640","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120640","licence":"Public domain","modified":"2026-11-09T20:18:05.343Z"}],"updatedAt":"2026-11-25T22:59:48.945Z","epss":{"score":0.00192,"percentile":0.09263,"date":"2026-12-01T12:00:22.000Z"}}