Medium severity · published Jul 3, 2025
CVE-2024-5647
Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Magnific Popups JavaScript Library
6.4
CVSS
0.4%
EPSS
No
On KEV
Description
Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled Magnific Popups library (version 1.1.0) 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. NOTE: This vulnerability was fixed in the upstream library (Magnific Popups version 1.2.0) by disabling the loading of HTML within certain fields by default.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
Betheme · MuffinGroup
through 28.4 · source: vendor
BS
BlossomThemes Social Feed · blossomthemes
through 2.0.5 · source: vendor
BP
Bold Page Builder · boldthemes
through 5.1.2 · source: vendor
CS
Carousel Slider · sayful
through 2.2.14 · source: vendor
DI
Divi · Elegant Themes
through 4.27.1 · source: vendor
DB
Divi Builder · Elegant Themes
through 4.27.1 · source: vendor
DE
Divi Extra · Elegant Themes
through 4.27.1 · source: vendor
DT
Divi Torque Lite · badhonrocks
through 4.0.5 · source: vendor
EA
Essential Addons for Elementor – Popular Elementor Templates & Widgets · wpdevteam
through 6.0.4 · source: vendor
GG
Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor · gutentor
through 3.4.9 · source: vendor
HA
Happy Addons for Elementor · leevio
through 3.12.2 · source: vendor
OC
OceanWP · oceanwp
through 3.6.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-5647
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-5647
github.com
https://github.com/dimsemenov/Magnific-Popup/releases/tag/1.2.0
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/bold-page-builder/trunk/content_elements_misc/js/jquery.magnific-popup.js
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/essential-addons-for-elementor-lite/trunk/assets/front-end/js/lib-view/magnific-popup/jquery.magnific-popup.js
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/js/robo_gallery.js#L56
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/vendor/magnific-popup/magnific-popup.js
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3153700/essential-addons-for-elementor-lite
