# CVE-2024-5878: Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via SimpleLightbox JavaScript Library

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-05-20T07:22:29.588Z
- Modified: 2026-06-17T08:16:50.000Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled SimpleLightbox JavaScript library (version 2.1.5) in various versions 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.

(As written by CVE List.)

## Affected

- aknieriem Simplelightbox: up to 2.14.4
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery: up to 3.59.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/bcbc8ce6-5eb7-4599-b844-72eb2ff3093c?source=cve>
- <https://plugins.trac.wordpress.org/browser/nextgen-gallery/trunk/static/Lightbox/simplelightbox/nextgen_simple_lightbox_init.js>
- <https://plugins.trac.wordpress.org/browser/simplelightbox/trunk/dist/simple-lightbox.js>
- <https://plugins.trac.wordpress.org/changeset/3157076/nextgen-gallery>

## Sources

- CVE List: [CVE-2024-5878](https://www.cve.org/CVERecord?id=CVE-2024-5878), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-5878](https://nvd.nist.gov/vuln/detail/CVE-2024-5878), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5878 · Whole record: https://cve.day/CVE-2024-5878.json · Rebuilt by cve.day 2026-11-25T22:58:52.682Z
