All vulnerabilities

WordPress plugins

CVE-2026-120687

Lightbox & Modal Popup WordPress Plugin <= 2.8.7 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Image Alt Attribute in .wp-caption Containers

Severity
High 7.2
Published
14 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
14 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 26% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

Description

The Lightbox & Modal Popup WordPress Plugin – FooBox plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'img alt attribute inside .wp-caption container' parameter in all versions up to, and including, 2.8.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by Subscriber-level users when bbPress is installed, as its bbp_filter_kses filter chain permits img and pre tags while preserving numeric character references inside attribute values, allowing encoded payloads to bypass save-time sanitization and reach the vulnerable sink fully intact. Exploitation by attackers with subscriber-level access and above requires that bbPress 2.6.20 is installed, a public forum exists, and either the first topic has already been approved or subsequent topics clear moderation.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Foobox Image Lightbox (WordPress plugin)WordPress plugins · wp-plugin:foobox-image-lightbox
  • Every version up to 2.8.7

About Lightbox & Modal Popup WordPress Plugin – FooBox

A responsive image lightbox for WordPress galleries, WordPress attachments & FooGallery

From its WordPress.org page.
Active installations
100,000+WordPress.org, 15 Nov 2026
Latest version
2.8.8WordPress.org, 15 Nov 2026
Last updated
7 Nov 2026WordPress.org
Rating
3.9 out of 5 (95 ratings)WordPress.org, 15 Nov 2026
Requires WordPress
5.8WordPress.org
Requires PHP
5.4WordPress.org
Tested up to WordPress
7.1.4WordPress.org
Author
FooPluginsWordPress.org
In the directory since
8 Apr 2014WordPress.org

This is the only vulnerability in Lightbox & Modal Popup WordPress Plugin – FooBox in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120687