WordPress Plugin Vulnerabilities

Easy Accept Payments for PayPal < 4.9.10 - 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

[wp_paypal_payment_box_for_any_amount email='admin@localhost.org' description='XSS' cbt='" accesskey="X" onclick="alert(1)"']

Click Alt + Shift + X in Firefox to trigger the XSS.

More information about access keys: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey

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-17 (about 1 years ago)
Added
2023-01-17 (about 1 years ago)
Last Updated
2023-01-17 (about 1 years ago)

Other