# CVE-2024-5668: Lightbox & Modal Popup WordPress Plugin – FooBox \<= 2.7.28 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via HTML Data Attributes

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-08 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2024-5668 · JSON: https://cvemate.com/vulnerability/CVE-2024-5668/json

## Description

```text
The Lightbox & Modal Popup WordPress Plugin – FooBox plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via HTML data attributes in all versions up to, and including, 2.7.28 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.299%, percentile 24.213%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fooplugins lightbox & modal popup wordpress plugin – foobox: ≤ 2.7.28
- themergency foobox: \< 2.7.32
- wordpress foobox-image-lightbox: ≤ 2.7.28 (fixed in 2.7.32)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/923f9e66-2e26-4ec2-a4b3-439881a6ca10?source=cve>
- <https://plugins.trac.wordpress.org/changeset/3130678/foobox-image-lightbox>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/923f9e66-2e26-4ec2-a4b3-439881a6ca10>

---

Data as of 2026-12-05T13:17:43.439Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
