---
id: CVE-2024-5647
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-07-03'
updated: '2026-08-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-5647'
references:
  - url: 'https://github.com/dimsemenov/Magnific-Popup/releases/tag/1.2.0'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/bold-page-builder/trunk/content_elements_misc/js/jquery.magnific-popup.js
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/essential-addons-for-elementor-lite/trunk/assets/front-end/js/lib-view/magnific-popup/jquery.magnific-popup.js
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/js/robo_gallery.js#L56
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/trunk/vendor/magnific-popup/magnific-popup.js
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3153700/essential-addons-for-elementor-lite
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3153781/bold-page-builder'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3154460/happy-elementor-addons
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3166204/carousel-slider'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3184626/addons-for-divi'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3201991/robo-gallery'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3328729/shortcodes-ultimate'
    label: security@wordfence.com
  - url: 'https://support.muffingroup.com/changelog/'
    label: security@wordfence.com
  - url: 'https://themes.trac.wordpress.org/changeset/244604/oceanwp'
    label: security@wordfence.com
  - url: 'https://www.elegantthemes.com/api/changelog/divi-builder.txt'
    label: security@wordfence.com
  - url: 'https://www.elegantthemes.com/api/changelog/divi.txt'
    label: security@wordfence.com
  - url: 'https://www.elegantthemes.com/api/changelog/extra.txt'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/dae80fc2-3076-4a32-876d-5df1c62de9bd?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.0033
epssPercentile: 0.2332
ingestedAt: '2026-08-25T20:31:51.980Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
