Executive brief
The Accordions plugin for WordPress, which allows site owners to create collapsible content sections, contains a security flaw that allows certain logged-in users to inject malicious scripts. An attacker with basic contributor-level access could use this to embed hidden code in website pages that runs when other visitors or administrators view the content. This could lead to unauthorized actions being performed in the context of an administrator's session or the redirection of visitors to malicious websites.
Technical details
The Accordions plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to a failure to properly sanitize and escape data within the Accordion body field. This vulnerability exists in all versions up to and including 2.3.23. An authenticated attacker with 'Custom-level' (contributor or higher) permissions can inject arbitrary web scripts into the database. Because the application fails to neutralize this input before rendering it on the front-end, the scripts execute in the browser of any user who visits the affected page. This can lead to session hijacking or unauthorized administrative actions if a site administrator views the malicious content. A patch appears to be available in the plugin's changeset 3564090.
Affected products
- PickPlugins Accordions up to, and including, 2.3.23
Timeline
- 2026-06-09: disclosed
- 2026-06-09: advisory