Description
The Slimbox Plugin plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'el.title (HTML-decoded title attribute of a stored <a rel^=lightbox> element)' parameter in all versions up to, and including, 1.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires a companion plugin such as bbPress that permits low-privileged users to store anchor elements with arbitrary title and rel attributes, as WordPress core comment handling does not preserve rel on anchor tags by default.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| peppolone | Slimbox Plugin | ≤ 1.3 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a30af2df-dc76-4e1c-9c91-b106c227ed92?source=cve
- https://plugins.trac.wordpress.org/browser/slimbox-plugin/tags/1.3/slimbox/slimbox.js#L6
- https://plugins.trac.wordpress.org/browser/slimbox-plugin/tags/1.3/slimbox/slimbox.js#L13
- https://plugins.trac.wordpress.org/browser/slimbox-plugin/tags/1.3/slimbox.php#L16