CVE-2026-120687 — fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox
Summary
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.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox | ≤ 2.8.7 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/foobox-image-lightbox/tags/2.8.7/fre…
- plugins.trac.wordpress.org/browser/foobox-image-lightbox/tags/2.8.7/fre…
- plugins.trac.wordpress.org/changeset/3789888/foobox-image-lightbox
- plugins.trac.wordpress.org/changeset
- wordfence.com/threat-intel/vulnerabilities/id/66b5a5a2-8f70-4a85-ad03-8…
Affected
- fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-120687?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-120687?
CVE-2026-120687 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-120687 being exploited?
Not as far as is known: CVE-2026-120687 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-120687?
fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox ≤ 2.8.7.
How do I fix CVE-2026-120687?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-119067 — grayhound1 Uploadcare File Uploader and Adaptive Delivery (beta)
- WP STAGING Plugin Vulnerable to Authorization Bypass [CVE-2026-109586]
- WP STAGING Plugin Vulnerable to PHP Object Injection
- MembershipWorks Plugin Vulnerable to Stored XSS in WordPress
- A plugin for the Cloud Storage Manager in Fluent Forms, specifically the Google Drive integration, has a flaw that allows unauthorized file writing