CVE-2025-4587: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in johnjamesjacoby A/B Testing for WordPress
The A/B Testing for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ab-testing-for-wp/ab-test-block' block in all versions up to, and including, 1.18.2 due to insufficient input sanitization and output escaping on the 'id' parameter. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The A/B Testing for WordPress plugin (versions up to 1.18.2) suffers from a stored cross-site scripting vulnerability due to improper neutralization of input in the 'id' parameter of the 'ab-test-block' block. This allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript code that executes in the context of other users viewing the affected pages. The vulnerability is tracked as CVE-2025-4587 and has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N). No patch or vendor advisory is currently provided, and no known exploits have been reported.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, potentially leading to partial confidentiality and integrity loss of user data within the affected site. There is no direct availability impact. The vulnerability could be leveraged to perform actions such as session hijacking or content manipulation in the context of other users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access carefully and monitor for suspicious activity related to the 'ab-test-block' usage. Avoid granting unnecessary privileges to users and consider disabling or removing the plugin if possible.
CVE-2025-4587: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in johnjamesjacoby A/B Testing for WordPress
Description
The A/B Testing for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ab-testing-for-wp/ab-test-block' block in all versions up to, and including, 1.18.2 due to insufficient input sanitization and output escaping on the 'id' parameter. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The A/B Testing for WordPress plugin (versions up to 1.18.2) suffers from a stored cross-site scripting vulnerability due to improper neutralization of input in the 'id' parameter of the 'ab-test-block' block. This allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript code that executes in the context of other users viewing the affected pages. The vulnerability is tracked as CVE-2025-4587 and has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N). No patch or vendor advisory is currently provided, and no known exploits have been reported.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, potentially leading to partial confidentiality and integrity loss of user data within the affected site. There is no direct availability impact. The vulnerability could be leveraged to perform actions such as session hijacking or content manipulation in the context of other users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access carefully and monitor for suspicious activity related to the 'ab-test-block' usage. Avoid granting unnecessary privileges to users and consider disabling or removing the plugin if possible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-12T15:12:59.602Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 685e499eca1063fb8756012c
Added to database: 6/27/2025, 7:34:54 AM
Last enriched: 4/9/2026, 5:28:44 PM
Last updated: 5/9/2026, 6:29:59 AM
Views: 66
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.
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.