SecurityContext

CVE-2026-120640: CGI Perl - Cross Site Request Forgery

  • Cve: CVE-2026-120640
  • Name: CGI Perl - Cross Site Request Forgery
  • Description: 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. CGI 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. A 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.
  • Impact: Attackers can forge requests to manipulate server-side JSON parameters, potentially bypassing security controls.
  • Remediation: Update to version 5.00 or later.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: cross_site_request_forgery
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to submit a crafted cross-site HTML form
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00192
  • Epss percentile: 0.08709
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-11-04T00:17:25Z
  • Age in days: 20
  • Modified at: 2026-11-09T20:18:05Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120640
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-352Cross-Site Request Forgery

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/leejo/CGI.pm/commit/bc4022f553301014e522133ba1e1f4e49e3bef08.patch
https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm
https://metacpan.org/release/LEEJO/CGI-5.00/changes

Projects

RepositoryLink kindsIndexedUrl
leejo/CGI.pmcommit, fixyes/v1/repositories/leejo/CGI.pm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts