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.

