CVE-2025-23842

WordPress WordPress Gallery Plugin plugin <= 1.4 - CSRF to Stored XSS vulnerability

Published Jan 16, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Cross-Site Request Forgery (CSRF) vulnerability in Nilesh Shiragave WordPress Gallery Plugin wordpress-gallery-plugin allows Cross Site Request Forgery.This issue affects WordPress Gallery Plugin: from n/a through <= 1.4.

Analysis

AI-generated

Technical impact

The WordPress Gallery Plugin (by Nilesh Shiragave) contains a cross‑site request forgery flaw that allows an attacker to submit a crafted request which stores malicious JavaScript in the plugin’s data. Because the payload is stored, it runs in the browser of any visitor to the affected gallery, enabling client‑side code execution that could deface content, steal session cookies, or further compromise the site. The weakness is a CSRF that escalates to stored XSS. Based on the typical behavior of CSRF, it is inferred that the attacker must obtain the ability to trigger a request from a user who is authenticated and has permission to edit the gallery, as the flaw is exercised through normal plugin actions.

Affected Systems

All installations of the WordPress Gallery Plugin version 1.4 or earlier are affected. Only sites that have this plugin active are vulnerable; WordPress itself and other plugins are not impacted.

Risk and Exploitability

The CVSS score of 7.1 signals a moderate‑to‑high severity. The EPSS score of <1 % indicates the likelihood of exploitation is low, but the stored XSS vector keeps the risk non‑negligible. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit it by sending a forged request from an authenticated user with sufficient privileges to inject the malicious script. Once stored, the script executes whenever the gallery is rendered in any user’s browser.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version newer than 1.4 to eliminate the CSRF and XSS flaw.
  • If upgrading is not immediately possible, disable or remove the plugin until a fix can be applied.
  • Restrict editing privileges for the gallery or enforce nonces on forms that interact with the gallery to mitigate CSRF; this serves as a temporary workaround.

Generated by OpenCVE AI on May 2, 2026 at 09:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-3470 Cross-Site Request Forgery (CSRF) vulnerability in Nilesh Shiragave WordPress Gallery Plugin allows Cross Site Request Forgery.This issue affects WordPress Gallery Plugin: from n/a through 1.4.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Nilesh Shiragave WordPress Gallery Plugin allows Cross Site Request Forgery.This issue affects WordPress Gallery Plugin: from n/a through 1.4. Cross-Site Request Forgery (CSRF) vulnerability in Nilesh Shiragave WordPress Gallery Plugin wordpress-gallery-plugin allows Cross Site Request Forgery.This issue affects WordPress Gallery Plugin: from n/a through <= 1.4.
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Nilesh Shiragave WordPress Gallery Plugin allows Cross Site Request Forgery.This issue affects WordPress Gallery Plugin: from n/a through 1.4.
Title WordPress WordPress Gallery Plugin plugin <= 1.4 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
May 11, 2026, 10:56 PM
Reserved
Jan 16, 2025, 11:31 AM
Status
Deferred
Published
Jan 16, 2025, 9:15 PM
Modified
Jun 17, 2026, 8:57 AM