CVE-2024-5878
MEDIUM
6.4
CVSS 3.1
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.
Affected WordPress components
-
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Plugin · nextgen-galleryUp to and including 3.59.4View on WordPress.org
-
Simplelightbox Plugin · simplelightboxUp to and including 2.14.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- aknieriem Simplelightbox — Up to and including 2.14.4
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery — Up to and including 3.59.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/trunk/static/Lightbox/simplelightbox/nextgen_simple_lightbox_init.js
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/simplelightbox/trunk/dist/simple-lightbox.js
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3157076/nextgen-gallery
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/bcbc8ce6-5eb7-4599-b844-72eb2ff3093c?source=cve
- nvd.nist.gov Official NVD record