CyberRota Analysis
AI-GeneratedThe SUMO Reward Points plugin for WordPress is vulnerable to unauthenticated stored cross-site scripting due to improper access control and insufficient input sanitization and output escaping in specific functions. This vulnerability allows unauthenticated attackers to inject malicious scripts into the reward points log, which can execute when an administrator views the affected admin pages. WordPress site administrators using this plugin should prioritize immediate remediation to mitigate potential exploitation risks.
Original NVD Description
The SUMO Reward Points plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting via the REST API endpoint `/wp-json/wc-srp/v1/earning` in versions up to, and including, 32.7.0. This is due to the `user_has_cap` filter in the `SRP_REST_Earning_Controller` class unconditionally granting the custom `rs_earning_read` capability to all users — including unauthenticated visitors — combined with missing sanitization of the `reason` parameter in the `create_items()` function and missing output escaping in the `column_default()` method of `SRP_Master_Log`. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into the reward points log that will execute whenever an administrator accesses the Master Log or User Reward Points admin pages.