---
id: "CVE-2026-115613"
kind: "vulnerability"
aliases: ["CVE-2026-115613"]
title: "WordPress Image Gallery block: stored XSS through 2.4.1 lets attackers inject scripts"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["runtime", "self-hosted", "wordpress"]
not_affected_if: ["plugin-not-installed", "trusted-editors-only"]
published_at: "2026-10-26T10:16:51+00:00"
first_seen_at: "2026-10-26T10:29:17+00:00"
updated_at: "2026-10-26T10:30:50+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115613", "first_seen_at": "2026-10-26T10:29:17+00:00"}]
---

# WordPress Image Gallery block: stored XSS through 2.4.1 lets attackers inject scripts

The bPlugins Image Gallery block for WordPress, versions through 2.4.1, fails to neutralize input when generating pages, which allows stored cross-site scripting. An attacker who can store content in a gallery can run JavaScript in the browser of anyone who views the page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the `Image Gallery block – Create and display photo gallery/photo album` plugin (slug unknown from sources) is installed in WordPress admin under Plugins
- Check the installed plugin version; it is affected if it is `2.4.1` or earlier

## Fix

- Update the Image Gallery block plugin to a version later than `2.4.1` (fixed version unknown from sources)
- If no fixed version is available, deactivate and remove the plugin

## Timeline

- 2026-10-26T10:29:17+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115613

## From the sources

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in bPlugins Image Gallery block – Create and display photo gallery/photo album. 3d-image-gallery allows Stored XSS.This issue affects Image Gallery block – Create and display photo gallery/photo album.: from n/a through 2.4.1.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
