/

CVE-2026-121985

Severity:

HIGH RISK

(7.2)

Stored XSS (CWE-79) in FV Flowplayer WordPress Plugin

CVE-2026-121985

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Stored client-side script execution

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

FV Flowplayer Video Player for WordPress has a stored cross-site scripting flaw involving the comment parameter when its Vimeo and YouTube link parsing setting is enabled. An unauthenticated attacker may inject script content that runs in visitors' browsers when they view an affected page.

Affected context

The issue affects the plugin's handling of comment content when "Parse Vimeo and YouTube links" is enabled. In this configuration, do_shortcode is added to the comment_text filter chain, allowing an [fvplayer] shortcode in comment content to be rendered; insufficient sanitization and output escaping create the risky condition.

Exploit preconditions

  • Attack surface: WordPress comment content processed by the plugin
  • Required access: No authentication is required according to the vulnerability description
  • Trigger point: A visitor accesses a page where the affected comment content is rendered
  • Required configuration: "Parse Vimeo and YouTube links" must be enabled
  • Why exploitation is possible: Comment input is not sufficiently sanitized and rendered output is not adequately escaped

Why this happens

The underlying bug is improper neutralization of user-controlled input in web page output, classified as CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). The comment-processing path can render shortcode content without adequate sanitization or context-appropriate output escaping, allowing injected script content to become executable in visitors' browsers.

Potential impact

  • Injected scripts may execute in the browser of a visitor viewing an affected page.
  • A visitor's session or page interactions could be exposed to script-driven abuse, depending on browser and site controls.
  • The site's content and reputation could be affected by persistent malicious content.

General mitigation guidance

Reduce trust in comment content by applying strict, context-aware sanitization before processing it, and escape output for the exact HTML or script context where it is rendered. Prefer shortcode processing that is limited to explicitly trusted content, and use secure-by-default settings that do not parse shortcodes from comments unless needed. Apply least privilege to accounts and services that can manage plugin settings or site content, and constrain script execution with appropriate browser security policies where practical.

How teams detect issues like this

  • Review comment-rendering and shortcode-processing paths for user-controlled data reaching output without context-appropriate escaping.
  • Use static analysis to identify shortcode execution or HTML generation in comment filters and to flag missing sanitization or escaping.
  • Review configuration and policy controls governing whether shortcodes may be processed in comments.
  • Monitor rendered pages and content records for unexpected shortcode output or script-capable markup.

Sources

SourceLink
github.comgithub.com/foliovision/fv-wordpress-flowplayer/commit/ff7ed422e0609a6edd285a3e5a36ce9751923425
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/controller/class.fv-player-sanitize-user-input.php#L80
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/controller/frontend.php#L664
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/controller/shortcodes.php#L42
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L1332
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L1411
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L1436
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L347
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L621
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer-frontend.php#L627
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/fv-wordpress-flowplayer/trunk/models/flowplayer.php#L1701
wordfence.comwordfence.com/threat-intel/vulnerabilities/id/84880d28-ca95-4a9e-b654-212a4115dda1?source=cve

Frequently asked

questions

The description indicates that an unauthenticated attacker can inject content, provided the required plugin setting is enabled. A visitor must access a page where the injected content is rendered for the script to run.

No authentication is required according to the description. The vulnerable behavior also depends on "Parse Vimeo and YouTube links" being enabled.

Sanitize untrusted comment content before processing it, restrict shortcode handling to trusted content where possible, and escape rendered output for its specific context.

Treat comments and other user-supplied content as untrusted, enforce context-aware output escaping, and review configuration and code paths that transform user content before rendering.

Find out what's already
exploitable in your codebase.