CVE-2025-11987: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in brechtvds Visual Link Preview
The Visual Link Preview plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's visual-link-preview shortcode in versions up to, and including, 2.2.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-11987 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Visual Link Preview plugin for WordPress, maintained by brechtvds. The vulnerability exists in all versions up to and including 2.2.7 and stems from improper neutralization of script-related HTML tags (CWE-80) within the plugin's visual-link-preview shortcode. Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions within the context of the victim's browser session. The vulnerability requires authentication but no user interaction, and the scope is limited to sites using this plugin and allowing contributor or higher roles to submit content. The CVSS v3.1 base score is 6.4, reflecting a medium severity due to network attack vector, low attack complexity, and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites that rely on this plugin for enhanced link previews.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within trusted websites, potentially resulting in session hijacking, defacement, phishing, or unauthorized actions performed on behalf of legitimate users. Organizations with collaborative content creation workflows that grant contributor or higher roles to multiple users are particularly vulnerable. The compromise of user sessions or administrative accounts could lead to data leakage or further compromise of internal systems. Given WordPress's widespread use across Europe for corporate, governmental, and media websites, exploitation could damage reputation, disrupt services, and expose sensitive information. The vulnerability does not directly affect availability but can undermine trust and confidentiality. Attackers could leverage this vulnerability to pivot into more severe attacks if combined with other weaknesses.
Mitigation Recommendations
Immediate mitigation involves restricting contributor-level access to trusted users only and auditing existing content for injected scripts. Organizations should monitor and limit the use of the Visual Link Preview plugin until a patched version is released. Applying web application firewall (WAF) rules to detect and block suspicious shortcode attribute inputs can reduce risk. Administrators should implement strict Content Security Policy (CSP) headers to limit script execution sources. Once a patch is available, promptly update the plugin to the fixed version. Additionally, perform regular security reviews of all WordPress plugins, enforce the principle of least privilege for user roles, and educate content contributors about secure input practices. Employing security plugins that sanitize user inputs and outputs can provide an additional layer of defense.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain
CVE-2025-11987: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in brechtvds Visual Link Preview
Description
The Visual Link Preview plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's visual-link-preview shortcode in versions up to, and including, 2.2.7 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-11987 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Visual Link Preview plugin for WordPress, maintained by brechtvds. The vulnerability exists in all versions up to and including 2.2.7 and stems from improper neutralization of script-related HTML tags (CWE-80) within the plugin's visual-link-preview shortcode. Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions within the context of the victim's browser session. The vulnerability requires authentication but no user interaction, and the scope is limited to sites using this plugin and allowing contributor or higher roles to submit content. The CVSS v3.1 base score is 6.4, reflecting a medium severity due to network attack vector, low attack complexity, and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites that rely on this plugin for enhanced link previews.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within trusted websites, potentially resulting in session hijacking, defacement, phishing, or unauthorized actions performed on behalf of legitimate users. Organizations with collaborative content creation workflows that grant contributor or higher roles to multiple users are particularly vulnerable. The compromise of user sessions or administrative accounts could lead to data leakage or further compromise of internal systems. Given WordPress's widespread use across Europe for corporate, governmental, and media websites, exploitation could damage reputation, disrupt services, and expose sensitive information. The vulnerability does not directly affect availability but can undermine trust and confidentiality. Attackers could leverage this vulnerability to pivot into more severe attacks if combined with other weaknesses.
Mitigation Recommendations
Immediate mitigation involves restricting contributor-level access to trusted users only and auditing existing content for injected scripts. Organizations should monitor and limit the use of the Visual Link Preview plugin until a patched version is released. Applying web application firewall (WAF) rules to detect and block suspicious shortcode attribute inputs can reduce risk. Administrators should implement strict Content Security Policy (CSP) headers to limit script execution sources. Once a patch is available, promptly update the plugin to the fixed version. Additionally, perform regular security reviews of all WordPress plugins, enforce the principle of least privilege for user roles, and educate content contributors about secure input practices. Employing security plugins that sanitize user inputs and outputs can provide an additional layer of defense.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-20T19:05:20.737Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690b1bd197eccd907387bdbc
Added to database: 11/5/2025, 9:41:37 AM
Last enriched: 11/5/2025, 9:53:21 AM
Last updated: 11/5/2025, 11:48:52 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12497: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in averta Premium Portfolio Features for Phlox theme
HighCVE-2025-11745: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in spacetime Ad Inserter – Ad Manager & AdSense Ads
MediumNikkei Says 17,000 Impacted by Data Breach Stemming From Slack Account Hack
MediumElusive Iranian APT Phishes Influential US Policy Wonks
MediumCVE-2025-58337: CWE-284 Improper Access Control in Apache Software Foundation Apache Doris-MCP-Server
UnknownActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.