---
id: "CVE-2026-109209"
kind: "vulnerability"
aliases: ["CVE-2026-109209"]
title: "WordPress video gallery plugin: subscribers can inject stored scripts"
severity: "medium"
cvss: 6.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "self-hosted", "wordpress", "wordpress-plugin"]
not_affected_if: ["plugin-updated", "xmlrpc-disabled"]
published_at: "2026-10-28T03:17:09+00:00"
first_seen_at: "2026-10-28T03:31:01+00:00"
updated_at: "2026-10-28T03:32:40+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-109209", "first_seen_at": "2026-10-28T03:31:01+00:00"}]
---

# WordPress video gallery plugin: subscribers can inject stored scripts

The All-in-One Video Gallery WordPress plugin, up to and including 4.9.7, fails to sanitize the embed code field, so a logged-in subscriber can store a script that runs in the browser of anyone who opens the affected page. The bypass works through XML-RPC, which skips the check the plugin relies on.

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

## How to check

- Look for the plugin's version in the WordPress admin Plugins screen or in `wp-content/plugins/all-in-one-video-gallery/all-in-one-video-gallery.php`
- Check whether XML-RPC is reachable with `curl -I https://example.com/xmlrpc.php`

## Fix

- Update the All-in-One Video Gallery plugin to a version later than `4.9.7`
- Until updated, restrict or disable XML-RPC if the site does not need it
- Review subscriber accounts and stored embed codes for unexpected script tags

## Timeline

- 2026-10-28T03:31:01+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-109209

## From the sources

The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_fields[embedcode]' parameter in all versions up to, and including, 4.9.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The sanitization bypass is possible because the save_meta_data() handler returns early when $_POST['post_type'] is absent — a condition always true during XML-RPC requests — and the plugin unconditionally grants Subscribers the publish_aiovg_videos capability, making this exploitable by any authenticated user via a single wp.newPost XML-RPC call.

---

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