CVE-2025-22518

WordPress Justified Image Gallery plugin <= 1.0 - Cross Site Scripting (XSS) vulnerability

Published Jan 7, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PluginsPoint Justified Image Gallery justified-image-gallery allows Stored XSS.This issue affects Justified Image Gallery: from n/a through <= 1.0.

Analysis

AI-generated

Technical impact

The flaw is an improper neutralization of user input during web page generation, allowing an attacker to inject arbitrary JavaScript that will execute in the browser of any visitor to a gallery page. Because the payload is stored, the attack remains until the content is removed or the plugin is updated. This can result in session hijacking, defacement, credential theft, or further malware delivery. The weakness is a stored XSS flaw (CWE‑79).

Affected Systems

The vulnerability targets all versions of the WordPress plugin Justified Image Gallery from PluginsPoint up to and including version 1.0. Sites that allow contributors or administrators to add or edit gallery content are at risk.

Risk and Exploitability

The CVSS score is 6.5, indicating moderate severity. The EPSS score is less than 1 percent, signalling a very low likelihood that this vulnerability is being exploited in the wild. The vulnerability is not listed in CISA’s KEV catalog. An attacker would need to place malicious input into gallery metadata fields—typically requiring user‑level content creation rights or a social‑engineering trick—to persist the payload. Once stored, any visitor to the gallery page will trigger the embedded script.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Justified Image Gallery plugin to a version newer than 1.0 if one is available.
  • If an upgrade is not feasible, restrict the plugin’s use to trusted administrators only and, if possible, disable or sanitize any input fields that could accept arbitrary HTML or JavaScript.
  • Implement a web application firewall or enforce a site‑wide content‑security‑policy that blocks inline scripts and unknown script sources to mitigate the impact of any remaining stored XSS payloads.

Generated by OpenCVE AI on May 2, 2026 at 06:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-2798 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in KentoThemes Justified Image Gallery allows Stored XSS.This issue affects Justified Image Gallery: from n/a through 1.0.
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in KentoThemes Justified Image Gallery allows Stored XSS.This issue affects Justified Image Gallery: from n/a through 1.0. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in PluginsPoint Justified Image Gallery justified-image-gallery allows Stored XSS.This issue affects Justified Image Gallery: from n/a through <= 1.0.
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/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 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in KentoThemes Justified Image Gallery allows Stored XSS.This issue affects Justified Image Gallery: from n/a through 1.0.
Title WordPress Justified Image Gallery plugin <= 1.0 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:11 PM
Reserved
Jan 7, 2025, 10:22 AM
Status
Deferred
Published
Jan 7, 2025, 4:15 PM
Modified
Jun 17, 2026, 8:47 AM