# All In One Lightbox – show any media in beautiful popups <= 1.3.0 - Authenticated (Contributor+) CSS Injection via Lightbox Block Style Attributes

- **ID:** WPSEC-2026-4499
- **Plugin:** All In One Lightbox – show any media in beautiful popups (`lightbox-block`), https://wordpress.org/plugins/lightbox-block/
- **Affected versions:** all versions before 1.3.1
- **Fixed in:** 1.3.1 (Update to 1.3.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-74
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/lightbox-block
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4499/

## Description

The All In One Lightbox plugin for WordPress is vulnerable to CSS Injection via the lightbox block's style attributes in all versions up to, and including, 1.3.0, due to attribute values such as colours, backgrounds, typography font-family and the Google Fonts import URL being added to the block's generated CSS without validation. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary CSS rules into pages that display the block.

## References

- https://wpsec.com/vuln/WPSEC-2026-4499/
- https://plugins.svn.wordpress.org/lightbox-block/tags/1.3.1/
- https://wordpress.org/plugins/lightbox-block/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4499/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
