What the vulnerability does
01Description
The Layers plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'webcam' shortcode in all versions up to, and including, 0.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Explanation of Vulnerability in Simple Terms
02Summary
Layers versions 0.5 and earlier contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts affecting other users. The vulnerability exists due to insufficient input sanitization in user-controlled fields. An attacker with low-level account access can craft malicious input that executes in other users' browsers, potentially stealing session data or performing actions on their behalf.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers and steal their session data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Authenticated users can be compromised through script injection, risking account takeover and unauthorized actions across the site.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; no user interaction required from the victim.
Key dates
06Disclosure timeline
September 30, 2025
CVE published
April 8, 2026
Record updated