Lightbox & Modal Popup WordPress Plugin <= 2.8.7 — Unauthenticated Stored DOM-Based Cross-Site Scripting via Image Alt Attribute in .wp-caption Containers
CVE-2026-120687Published · Updated Action summary
Affected: ≤2.8.7Update to 2.8.8 or newer
All remediation steps100K+ active installs
Watch pluginOn this page3
Overview
- Advisory ID
- CVE-2026-120687
- Product
- Lightbox & Modal Popup WordPress Plugin – FooBox foobox-image-lightbox
- Affected
- ≤2.8.7
- Fixed in
- 2.8.8
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- No account needed
- Published
- Credit
- Adrien Brunner
- Source
- Wordfence Intelligence
- Affected≤ 2.8.7
- Patched in2.8.8
- Latest2.8.8
Update to 2.8.8 or newer.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
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.
Not sure which version you run? Run a passive check — it reads public files only.
Remediation & mitigations
- Update to version 2.8.8, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
References & provenance
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.1 | Reflected DOM-Based Cross-Site Scripting via url Parameter ≤2.7.33Update to 2.7.34 | CVE-2024-13362 | |
| Medium6.4 | Authenticated (Author+) Stored Cross-Site Scripting ≤2.7.34Update to 2.7.35 | CVE-2025-5537 | |
| Medium6.4 | Authenticated (Author+) Stored Cross-Site Scripting ≤2.7.33Update to 2.7.34 | CVE-2025-32139 | |
| Medium6.4 | Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via HTML Data Attributes ≤2.7.28Update to 2.7.32 | CVE-2024-5668 | |
| Medium4.4 | Authenticated (Admin+) Stored Cross-Site Scripting ≤2.7.27Update to 2.7.28 | CVE-2024-3276 |
- Medium6.1Reflected DOM-Based Cross-Site Scripting via url Parameter
≤2.7.33Update to 2.7.34
- Medium6.4Authenticated (Author+) Stored Cross-Site Scripting
≤2.7.34Update to 2.7.35
- Medium6.4Authenticated (Author+) Stored Cross-Site Scripting
≤2.7.33Update to 2.7.34
- Medium6.4Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via HTML Data Attributes
≤2.7.28Update to 2.7.32
- Medium4.4Authenticated (Admin+) Stored Cross-Site Scripting
≤2.7.27Update to 2.7.28
| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.4 | Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Popup' Shortcode Attribute via Profile Video | CVE-2026-110531 | |
| Medium5.4 | Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode | CVE-2026-127115 | |
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Multipart Field Name | CVE-2026-116753 | |
| Critical9.8 | 1.8.0 - Authentication Bypass to Administrator | CVE-2026-19907 |
- Medium6.4Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Popup' Shortcode Attribute via Profile Video
FV Player 8
≤8.1.9Update to 8.2.0
- Medium5.4Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode
BuddyForms
≤2.10.6Update to 2.10.7
- High7.2Unauthenticated Stored Cross-Site Scripting via Multipart Field Name
Multi Step for Contact Form 7
≤2.9.1Update to 2.9.2
- Critical9.81.8.0 - Authentication Bypass to Administrator
Shipo
1.6 – 1.8.0Update to 1.8.1
Timeline
CVE published
Severity high, CVSS 7.2
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
