CVE-2025-1783

Gallery Styles <= 1.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Mar 8, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Gallery Styles plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gallery Block in all versions up to, and including, 1.3.4 due to insufficient input sanitization and output escaping. 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.

Analysis

AI-generated

Technical impact

An authenticated user with Contributor or higher access can insert arbitrary JavaScript into the Gallery Block of WordPress pages. The injected code executes in the browsers of any visitor who views the affected page, enabling session hijacking, cookie theft, or other client‑side attacks. The vulnerability stems from insufficient input sanitization and output escaping, a classic instance of CWE‑79. The impact directly compromises confidentiality and integrity of users interacting with the compromised content.

Affected Systems

The Gallery Styles plugin for WordPress, sold by kometschuh, is affected in all releases up to and including version 1.3.4. Any WordPress installation that has a vulnerable version of this plugin installed is at risk.

Risk and Exploitability

The vulnerability has a CVSS score of 6.4, indicating moderate risk. The EPSS score is below 1 %, suggesting a low probability of exploitation at present. It is not listed in the CISA KEV catalog. Exploitation requires authenticated access at the Contributor level or higher, implying that the attacker must first gain or be granted such privileges on the site. Once authenticated, the attacker can inject scripts through the Gallery Block, which are then stored and served to all users who view the page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Gallery Styles plugin to the latest release that includes the XSS fix
  • If an upgrade is not immediately possible, limit Contributor-level access for users or configure the site to disable the Gallery Block in content editing
  • As a temporary measure, manually remove any suspicious or custom JavaScript from existing gallery blocks and sanitize user input

Generated by OpenCVE AI on April 20, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-7414 The Gallery Styles plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gallery Block in all versions up to, and including, 1.3.4 due to insufficient input sanitization and output escaping. 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.
History
Type Values Removed Values Added
First Time appeared Tiptoppress
Tiptoppress gallery Styles
CPEs cpe:2.3:a:tiptoppress:gallery_styles:*:*:*:*:*:wordpress:*:*
Vendors & Products Tiptoppress
Tiptoppress gallery Styles
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 The Gallery Styles plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gallery Block in all versions up to, and including, 1.3.4 due to insufficient input sanitization and output escaping. 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.
Title Gallery Styles <= 1.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:21 PM
Reserved
Feb 28, 2025, 3:55 PM
Status
Analyzed
Published
Mar 8, 2025, 10:15 AM
Modified
Jun 17, 2026, 8:39 AM