id: CVE-2021-24176 info: name: WordPress JH 404 Logger XSS author: Ganofins severity: medium description: JH 404 Logger WordPress plugin through 1.1 doesn't sanitise the referer and path of 404 pages, when they are output in the dashboard, which leads to executing arbitrary JavaScript code in the WordPress dashboard. references: | - https://wpscan.com/vulnerability/705bcd6e-6817-4f89-be37-901a767b0585 - https://wordpress.org/plugins/jh-404-logger/ tags: cve,cve2021,wordpress,wp-plugin,xss requests: - method: GET path: - "{{BaseURL}}/wp-content/plugins/jh-404-logger/readme.txt" matchers-condition: and matchers: - type: word words: - "JH 404 Logger" part: body - type: status status: - 200