WordPress Plugin Vulnerabilities

YARPP - Yet Another Related Posts Plugin < 5.30.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

v < 5.30.3
[yarpp template="' onmouseover='alert(/XSS/)"]

v < 5.30.2
[yarpp extra_css_class="' onmouseover='alert(/XSS/)"]

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-01-19 (about 1 years ago)
Added
2023-01-19 (about 1 years ago)
Last Updated
2023-04-28 (about 1 years ago)

Other