Skip to content
Laskyr

Plugins · foobox-image-lightbox · data as of 2026-11-29

Is Lightbox & Modal Popup WordPress Plugin safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (2.8.8)

As of 2026-11-29. 5 issues are on record for older versions; version 2.8.8 or newer fixes all of them that state a fix.

Latest version
2.8.8
Last updated
2026-11-07
Active installs
100,000+
Known issues on record
5
Unpatched in latest
0
Tested up to WP
7.1.5 · PHP 5.4+

A responsive image lightbox for WordPress galleries, WordPress attachments & FooGallery — by FooPlugins

What to do

  1. Update to the latest version (2.8.8). Anything older than 2.8.8 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get foobox-image-lightbox --field=version shows what you run; wp plugin update foobox-image-lightbox updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

5 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

high 7.2 CVE-2026-120687 · published 2026-11-14

DOM-based cross-site scripting (XSS) in Lightbox & Modal Popup WordPress Plugin (2.8.7 and older)

Affected
2.8.7 and older
Fixed in
2.8.8 *
Access needed (per CVSS)
No login needed
Range from
CVE record · score by Wordfence
Details from the advisory

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. On a default installation, where that is not configured, the vulnerability requires attackers with contributor-level access and above.

NVD CVE-2026-120687Wordfence advisoryCode change (fix)Plugin source

medium 5.4 CVE-2025-5537 · published 2025-07-08

Stored cross-site scripting (XSS) in Lightbox & Modal Popup WordPress Plugin (2.7.34 and older)

Affected
2.7.34 and older
Fixed in
2.7.35 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

The Lightbox & Modal Popup WordPress Plugin – FooBox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image alternative texts in all versions up to, and including, 2.7.34 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

NVD CVE-2025-5537Wordfence advisoryCode change (fix)

medium 5.9 CVE-2025-32139 · published 2025-04-10

Cross-site scripting (XSS) in Lightbox & Modal Popup WordPress Plugin (2.7.33 and older)

Affected
2.7.33 and older
Fixed in
2.7.34
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record · score by Patchstack
Details from the advisory

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in FooPlugins FooBox Image Lightbox foobox-image-lightbox.This issue affects FooBox Image Lightbox : from n/a through <= 2.7.33.

NVD CVE-2025-32139Patchstack advisory

medium 5.4 CVE-2024-5668 · published 2024-08-08

Stored cross-site scripting (XSS) in Lightbox & Modal Popup WordPress Plugin (2.7.28 and older)

Affected
2.7.28 and older
Fixed in
2.7.32 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

The Lightbox & Modal Popup WordPress Plugin – FooBox plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via HTML data attributes in all versions up to, and including, 2.7.28 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.

NVD CVE-2024-5668Wordfence advisoryCode change (fix)

medium 4.8 CVE-2024-3276 · published 2024-06-18

Stored cross-site scripting (XSS) in Lightbox & Modal Popup WordPress Plugin (older than 2.7.28)

Affected
older than 2.7.28
Fixed in
2.7.28
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

The Lightbox & Modal Popup WordPress Plugin WordPress plugin before 2.7.28, foobox-image-lightbox-premium WordPress plugin before 2.7.28 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

NVD CVE-2024-3276WPScan advisory

Recent activity

Browse vulnerabilities

Questions about Lightbox & Modal Popup WordPress Plugin

Is Lightbox & Modal Popup WordPress Plugin safe to use?

No known unpatched vulnerabilities in the latest version (2.8.8). As of 2026-11-29. 5 issues are on record for older versions; version 2.8.8 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Lightbox & Modal Popup WordPress Plugin on the latest version (2.8.8) and remove it if you do not use it.

Which versions of Lightbox & Modal Popup WordPress Plugin are vulnerable?

Known issues on record (newest first): DOM-based cross-site scripting (XSS) (2.8.7 and older, fixed in 2.8.8); Stored cross-site scripting (XSS) (2.7.34 and older, fixed in 2.7.35); Cross-site scripting (XSS) (2.7.33 and older, fixed in 2.7.34); Stored cross-site scripting (XSS) (2.7.28 and older, fixed in 2.7.32); Stored cross-site scripting (XSS) (older than 2.7.28, fixed in 2.7.28). The full list with sources is on this page.

What is the latest version of Lightbox & Modal Popup WordPress Plugin?

2.8.8, according to wordpress.org (last updated 2026-11-07). It has 100,000+ active installs.

What should I do if my Lightbox & Modal Popup WordPress Plugin is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update foobox-image-lightbox). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Lightbox & Modal Popup WordPress Plugin vulnerability status badge
<a href="https://laskyr.com/plugins/foobox-image-lightbox"><img src="https://laskyr.com/plugins/foobox-image-lightbox/badge.svg" alt="Lightbox & Modal Popup WordPress Plugin vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.