Stored DOM-based cross-site scripting in FooBox Lightbox plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The FooBox Lightbox & Modal Popup WordPress plugin by fooplugins is affected through version 2.8.7. Missing input sanitization and output escaping of image alt attributes in .wp-caption containers (CWE-79) let attackers store scripts that run in the browsers of users who open an injected page. An unauthenticated attacker can inject these scripts, and a Subscriber-level user can do so when bbPress 2.6.20 is installed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fooplugins | Lightbox & Modal Popup WordPress Plugin – FooBox | up to 2.8.7 | — | No fix listed | CNA |
- Lightbox & Modal Popup WordPress Plugin – FooBox Vendorfooplugins Affected up to 2.8.7 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for the Lightbox & Modal Popup WordPress Plugin (FooBox).
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Timeline
- 2026-11-14 Threatist record created from CVE-2026-120687
- 2026-11-14 Alias added: GHSA-jhjw-284v-p766
- 2026-11-16 CISA SSVC decision points changed
References
Other 5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/66b5a5a2-8f70-4a85-ad03-8bd159cafdf5?source=cve
- https://plugins.trac.wordpress.org/browser/foobox-image-lightbox/tags/2.8.7/free/js/foobox.free.min.js
- https://plugins.trac.wordpress.org/browser/foobox-image-lightbox/tags/2.8.7/free/includes/class-script-generator.php#L175
- https://plugins.trac.wordpress.org/changeset/3789888/foobox-image-lightbox
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3789888%40foobox-image-lightbox%2Ftags%2F2.8.8&old=3741260%40foobox-image-lightbox%2Ftags%2F2.8.7
More fooplugins vulnerabilities
- TI-2024-03073 FooBox (Free and Premium) < 2.7.28 - Admin+ Stored XSS CVSS 3.1MEDIUM 6.1
- TI-2023-23759 WordPress FooGallery Plugin <= 2.2.44 is vulnerable to Cross Site Request Forgery (CSRF) CVSS 3.1HIGH 8.8
- TI-2023-13819 WordPress FooGallery Plugin <= 2.2.35 is vulnerable to Cross Site Scripting (XSS) CVSS 3.1HIGH 7.1
- TI-2023-06350 Best WordPress Gallery Plugin – FooGallery <= 2.4.16 - Authenticated (Contributor+) Directory Traversal CVSS 3.1HIGH 7.7
- TI-2024-11241 Cross-site scripting in fooplugins Gallery by FooGallery CVSS 3.1MEDIUM 6.4
- TI-2023-23770 WordPress FooGallery Plugin <= 2.2.44 is vulnerable to Cross Site Scripting (XSS) CVSS 3.1HIGH 7.1
Sources
- CVE-2026-120687 · CVE Program
- CVE-2026-120687 · NVD
- FIRST EPSS
- GHSA-jhjw-284v-p766 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences