CVE-2025-15690: Content Mask 1.7.1 - 1.8.5.5 - Contributor+ Stored XSS via Post Scripts and Styles
The Content Mask WordPress plugin before 1.8.5.6 does not properly sanitise and escape content submitted with a post before outputting it in the pages it generates, allowing users with a role as low as Contributor to perform Stored Cross-Site Scripting attacks against any user viewing or previewing the affected page. The Content Mask WordPress plugin before 1.8.5.6's option to restrict its use by role does not prevent this.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress Content Mask pluginto a version that resolves this vulnerability.Fixed in 1.8.5.6 - Compensating control
Since the issue affects versions before 1.8.5.6, temporarily restrict exposure by disabling or limiting the Content Mask plugin usage until it is upgraded to 1.8.5.6, noting that the plugin’s “restrict its use by role” option does not prevent the Stored XSS.
Event History
Frequently Asked Questions
Which users can exploit this issue?
Any user with at least the Contributor role can submit malicious content through post scripts and styles. The plugin's role-restriction option does not prevent exploitation.
Who is exposed to the injected script?
Any user who views or previews a page generated from the affected content can be exposed to the stored cross-site scripting payload.
What versions need remediation?
Content Mask versions before 1.8.5.6 are affected. Update to 1.8.5.6 or later.