Radar sectionsDatabase
Check my site
WordPress plugin

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 steps

100K+ active installs

Watch plugin
High7.2CVSS 3.17.2CISA KEVNot listedAccessNo account needed

Overview

Advisory ID
CVE-2026-120687
Affected
≤2.8.7
Fixed in
2.8.8
Required access
No account needed
Published
Credit
Adrien Brunner
  1. Affected≤ 2.8.7
  2. Patched in2.8.8
  3. Latest2.8.8

Update to 2.8.8 or newer.

7.2
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:N User interaction
None
S:C Scope
Changed
C:L Confidentiality
Low
I:L Integrity
Low
A:N Availability
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

  1. Update to version 2.8.8, or a newer patched version
  2. 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

Related CVEs

More vulnerabilities in Lightbox & Modal Popup WordPress Plugin – FooBox
SeverityVulnerabilityCVEPublished
Medium6.1Reflected DOM-Based Cross-Site Scripting via url Parameter
≤2.7.33Update to 2.7.34
CVE-2024-13362
Medium6.4Authenticated (Author+) Stored Cross-Site Scripting
≤2.7.34Update to 2.7.35
CVE-2025-5537
Medium6.4Authenticated (Author+) Stored Cross-Site Scripting
≤2.7.33Update to 2.7.34
CVE-2025-32139
Medium6.4Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via HTML Data Attributes
≤2.7.28Update to 2.7.32
CVE-2024-5668
Medium4.4Authenticated (Admin+) Stored Cross-Site Scripting
≤2.7.27Update to 2.7.28
CVE-2024-3276
Other Cross-Site Scripting vulnerabilities
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Popup' Shortcode Attribute via Profile Video
FV Player 8≤8.1.9Update to 8.2.0
CVE-2026-110531
Medium5.4Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode
BuddyForms≤2.10.6Update to 2.10.7
CVE-2026-127115
High7.2Unauthenticated Stored Cross-Site Scripting via Multipart Field Name
Multi Step for Contact Form 7≤2.9.1Update to 2.9.2
CVE-2026-116753
Critical9.81.8.0 - Authentication Bypass to Administrator
Shipo1.6 – 1.8.0Update to 1.8.1
CVE-2026-19907

Timeline

  1. CVE published

    Severity high, CVSS 7.2

  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.

How we use these sources

Search VulnCrest Radar

Are you sure?