WordPress Plugin Vulnerabilities

Prismatic < 2.8 - Contributor+ Stored XSS

Description

The plugin does not sanitise or validate some of its shortcode parameters, allowing users with a role as low as Contributor to set Cross-Site payload in them. A post made by a contributor would still have to be approved by an admin to have the XSS trigger able in the frontend, however, higher privilege users, such as editor could exploit this without the need of approval, and even when the blog disallows the unfiltered_html capability.

Injection Points:
1) prismatic_code shortcode's "class" attribute
2) prismatic_encoded shortcode-like syntax with HTML attributes nested inside prismatic_code shortcode
3) Base-64ed payload inside prismatic_encoded shortcode-like syntax nested inside prismatic_code shortcode

Proof of Concept

Affects Plugins

Fixed in 2.8

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
apple502j
Submitter
apple502j
Verified
Yes

Timeline

Publicly Published
2021-06-21 (about 4 years ago)
Added
2021-06-21 (about 4 years ago)
Last Updated
2021-06-25 (about 4 years ago)

Other