Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-1051 PoC — WordPress plugin WPQA 跨站脚本漏洞

Source
Associated Vulnerability
Title:WordPress plugin WPQA 跨站脚本漏洞 (CVE-2022-1051)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin WPQA 5.2之前版本存在跨站脚本漏洞,该漏洞源于在个人资料页面中输出时不会清理和转义城市、电话或个人资料凭据字段。攻击者利用该漏洞执行跨站脚本攻击。
Description
WPQA < 5.2 - Subscriber+ Stored Cross-Site Scripting via Profile fields
Readme
# CVE-2022-1051
WPQA &lt; 5.2 - Subscriber+ Stored Cross-Site Scripting via Profile fields

# Description
The plugin, used as a companion plugin for the Discy and Himer themes, does not sanitise and escape the city, phone or profile credentials fields when outputting it in the profile page, allowing any authenticated user to perform Cross-Site Scripting attacks.

# Proof of Concept
Edit your profile and add the following payload in one of the unescaped fields. ```<img src onerror=alert(/XSS/)>```
Upon visiting your profile, XSS will be triggered 


### Fixed in version 5.2

### References:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1051

https://wpscan.com/vulnerability/cb2fa587-da2f-460e-a402-225df7744765

### Video POC:

https://www.youtube.com/watch?v=hoy9MYoki7k
File Snapshot

[4.0K] /data/pocs/11df66a7670b7f63f72481dc8965ad5480a706f3 └── [ 791] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.