CVE-2024-5442
WordPress vulnerability analysis and mitigation

Overview

The Photo Gallery, Sliders, Proofing and WordPress plugin (NextGEN Gallery) before version 3.59.3 contains a stored Cross-Site Scripting (XSS) vulnerability. The vulnerability was discovered on June 22, 2024, and was assigned identifier CVE-2024-5442. This security issue affects the plugin's settings functionality, specifically impacting high-privilege users such as administrators (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of certain settings within the plugin. This security weakness allows high-privilege users to perform Stored Cross-Site Scripting attacks, even when the unfiltered_html capability is disallowed, such as in multisite setups. The vulnerability has been assigned a CVSS 3.1 base score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L (NVD).

Impact

The vulnerability could allow authenticated administrators to inject and store malicious JavaScript code in the plugin's settings. This stored XSS could potentially be triggered when other users access specific pages containing the compromised album content, potentially leading to session hijacking, credential theft, or other client-side attacks (WPScan).

Exploitability

The vulnerability can be exploited through the Manage Albums functionality. An attacker with administrative access can insert XSS payloads when adding albums, which then get triggered when users access posts or pages containing NextGen Gallery Gutenberg blocks that reference the compromised albums (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 3.59.3 of the NextGEN Gallery plugin. Site administrators are strongly advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management