CVE-2026-87888: CWE-79 Cross-Site Scripting (XSS) in YayPricing
The YayPricing WordPress plugin before 3.5.7 does not perform an authorization check on a REST route that saves its pricing rules, allowing users with the subscriber role and above to store JavaScript that executes in the browser of an administrator who opens the YayPricing WordPress plugin before 3.5.7's settings page.
AI Analysis
Technical Summary
The YayPricing WordPress plugin versions prior to 3.5.7 contain a CWE-79 Cross-Site Scripting vulnerability due to missing authorization checks on a REST route responsible for saving pricing rules. This flaw enables users with subscriber-level permissions or higher to store malicious JavaScript code. When an administrator accesses the YayPricing settings page, the injected script executes in their browser context, potentially leading to session hijacking or other browser-based attacks.
Potential Impact
An attacker with subscriber or higher privileges can inject JavaScript that executes in an administrator's browser when they view the YayPricing settings page. This could lead to unauthorized actions performed with administrator privileges, including session theft or manipulation of the WordPress environment via the administrator's session.
Mitigation Recommendations
A fix is available in YayPricing version 3.5.7 and later. Users should upgrade to version 3.5.7 or above to remediate this vulnerability. Until then, restrict subscriber-level users from accessing the affected REST route or the plugin settings page if possible.
CVE-2026-87888: CWE-79 Cross-Site Scripting (XSS) in YayPricing
Description
The YayPricing WordPress plugin before 3.5.7 does not perform an authorization check on a REST route that saves its pricing rules, allowing users with the subscriber role and above to store JavaScript that executes in the browser of an administrator who opens the YayPricing WordPress plugin before 3.5.7's settings page.
CVSS v3.1
Score 8.0high
Affected software
YayPricing
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The YayPricing WordPress plugin versions prior to 3.5.7 contain a CWE-79 Cross-Site Scripting vulnerability due to missing authorization checks on a REST route responsible for saving pricing rules. This flaw enables users with subscriber-level permissions or higher to store malicious JavaScript code. When an administrator accesses the YayPricing settings page, the injected script executes in their browser context, potentially leading to session hijacking or other browser-based attacks.
Potential Impact
An attacker with subscriber or higher privileges can inject JavaScript that executes in an administrator's browser when they view the YayPricing settings page. This could lead to unauthorized actions performed with administrator privileges, including session theft or manipulation of the WordPress environment via the administrator's session.
Mitigation Recommendations
A fix is available in YayPricing version 3.5.7 and later. Users should upgrade to version 3.5.7 or above to remediate this vulnerability. Until then, restrict subscriber-level users from accessing the affected REST route or the plugin settings page if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-09-09T14:26:35.755Z
- State
- PUBLISHED
Threat ID: 6aa4ee6355bf5e2cf5f21ff9
Added to database: 09/12/2026, 06:17:07 UTC
Last enriched: 09/12/2026, 06:32:36 UTC
Last updated: 09/13/2026, 02:07:12 UTC
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.