WordPress Plugin Vulnerabilities

Kwayy HTML Sitemap < 4.0 - Admin+ Stored XSS

Description

The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

Proof of Concept

1. Click the 'Settings' button of this plugin.
2. After that you will see one input box named Exclude post.And enter the following value in the input box: 123" onmouseenter=alert(/XSS/) "
3. Then click the 'Save' button in the page.
4.Finally refresh or re-enter the page and move the mouse over the input box.And it alerts cookie successful.

-----

1. First enter the settings interface of this plugin.
2. After that you will see two input boxes named "Custom Post Name".Next we click the 'change' button and enter the following value: 123 <script>alert(/XSS/)</script>
3. Then click the 'OK' button to save the infomation.
4.Finally refresh or re-enter the page to trigger the XSS

Affects Plugins

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
zhangyunpei
Submitter
zhangyunpei
Verified
Yes

Timeline

Publicly Published
2022-12-05 (about 1 years ago)
Added
2022-12-05 (about 1 years ago)
Last Updated
2022-12-05 (about 1 years ago)

Other