WordPress Plugin Vulnerabilities

Easy Digital Downloads < 3.1.0.5 - Contributor+ Stored XSS

Description

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

Proof of Concept

Add the "EDD Buy Button" Gutenberg block to a post and put the payload below in the "Additional CSS class(es)" advanced block settings:

" onmouseover="alert(/XSS/)" style="background:red;"

Note: At least one Download need to exist for the issue to trigger.

Affects Plugins

Fixed in 3.1.0.5

References

Classification

Type
XSS
CWE

Miscellaneous

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

Timeline

Publicly Published
2023-01-30 (about 1 years ago)
Added
2023-01-30 (about 1 years ago)
Last Updated
2023-01-30 (about 1 years ago)

Other