Home

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.

PUBLISHED Reserved 2025-05-12 | Published 2025-06-27 | Updated 2026-04-08 | Assigner Wordfence




MEDIUM: 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2025-06-26:Disclosed

Credits

Cheng Liu finder

References

www.wordfence.com/...-3b91-4b55-b6b1-a132ec195607?source=cve

wordpress.org/plugins/ab-testing-for-wp/

cve.org (CVE-2025-4587)

nvd.nist.gov (CVE-2025-4587)

Download JSON