SecurityContext

CVE-2026-19513: Gravity Forms WordPress Plugin - Unrestricted File Upload

  • Cve: CVE-2026-19513
  • Name: Gravity Forms WordPress Plugin - Unrestricted File Upload
  • Description: The Gravity Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 3.0.2. This is due to insufficient validation of multi-file upload chunk state in the `GFAsyncUpload::upload()` function, where public form state URL hashes can be reused as chunk continuation hashes and attacker-controlled temporary filenames are accepted before sanitization. This makes it possible for unauthenticated attackers, when a public form contains a File Upload field with Multiple Files enabled, to upload a valid PNG/PDF polyglot to an attacker-selected public `.php` or `.html` filename in the Gravity Forms temporary upload directory. This can lead to remote code execution on WordPress systems that use NGINX or other non `.htaccess` respecting web servers. NOTE: During installation and activation, the Gravity Forms plugin places a `.htaccess` file in this directory, which prevents this vulnerability from being exploited despite the PHP file being written to the temporary upload directory. In these cases where PHP execution is blocked, attacker-written HTML can result in stored same-origin cross-site scripting if a victim visits the generated file URL.
  • Impact: Unauthenticated attackers can upload malicious files leading to remote code execution or stored cross-site scripting on affected servers.
  • Remediation: Update to a version later than 3.0.2 or the latest available version.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, stored_xss
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00712
  • Epss percentile: 0.54331
  • Assignee: [email protected]
  • Published at: 2026-09-01T14:17:27Z
  • Age in days: 84
  • Modified at: 2026-09-01T20:47:54Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-19513
  • 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, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

References

UrlSourceTags
https://docs.gravityforms.com/gravityforms-change-log/nvd
https://www.wordfence.com/threat-intel/vulnerabilities/id/d20b2d00-054e-4772-a5a5-b7b33063043c?source=cvenvd

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