WordPress Plugin Vulnerabilities

Copyright Proof <= 4.16 - Reflected Cross-Site-Scripting

Description

The plugin does not sanitise and escape a parameter before outputting it back via an AJAX action available to both unauthenticated and authenticated users, leading to a Reflected Cross-Site Scripting when a specific setting is enabled.

Proof of Concept

To make it easier to verify the vulnerability without the need of registering an account within the plugin's settings, set the "dprv_record_IP" option to "on" in the database:
UPDATE wp_options SET option_value = 'on' WHERE option_name = 'dprv_record_IP';

https://example.com/wp-admin/admin-ajax.php?action=dprv_log_event&message=%3Cscript%3Ealert(`xss`)%3C/script%3E

Affects Plugins

No known fix

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
cydave
Submitter
cydave
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-07-07 (about 1 years ago)
Added
2022-07-07 (about 1 years ago)
Last Updated
2023-04-11 (about 1 years ago)

Other