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
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox <= 2.8.7
Vulnerability facts
- Affected
- fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox <= 2.8.7
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 30, 2026-11-29)
- CWE
- CWE-79
- Modified
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. On a default installation, where that is not configured, the vulnerability requires attackers with contributor-level access and above.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox | <= 2.8.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-120687. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-120687.md Affected: fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox <= 2.8.7 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- 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
FAQ
Is CVE-2026-120687 being exploited?
There is no confirmed exploitation: CVE-2026-120687 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-29).
How serious is CVE-2026-120687?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-120687?
fooplugins Lightbox & Modal Popup WordPress Plugin – FooBox <= 2.8.7.
Is there a fix for CVE-2026-120687?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-120687?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More WordPress plugins and themes vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.3 | CVE-2026-136005 WordPress theMarketer plugin <= 1.5.9 - Broken Access Control vulnerability | WordPress plugins and themes | ||
| MEDIUM 4.3 | CVE-2026-136042 WordPress picu plugin <= 3.10.2 - Broken Access Control vulnerability | WordPress plugins and themes | ||
| MEDIUM 5.3 | CVE-2026-136010 WordPress weForms plugin <= 1.6.29 - Sensitive Data Exposure vulnerability | WordPress plugins and themes | ||
| MEDIUM 4.3 | CVE-2026-136009 WordPress weForms plugin <= 1.6.29 - Broken Access Control vulnerability | WordPress plugins and themes | ||
| MEDIUM 5.3 | CVE-2026-138035 WordPress Quiz And Survey Master plugin <= 11.3.2 - Broken Access Control vulnerability | WordPress plugins and themes |