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 classified under CWE-80, affecting the Visual Link Preview plugin for WordPress developed by brechtvds. The vulnerability exists in versions up to and including 2.2.7 due to improper neutralization of script-related HTML tags in user-supplied attributes within the plugin's visual-link-preview shortcode. Authenticated attackers with at least contributor-level privileges can inject arbitrary JavaScript code into pages or posts by exploiting insufficient input sanitization and output escaping mechanisms. Once injected, the malicious scripts execute in the context of any user who views the compromised page, potentially allowing attackers to steal session cookies, perform actions on behalf of users, or redirect users to malicious sites. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) because the vulnerability affects resources beyond the attacker’s privileges. No patches or fixes are currently linked, and no known exploits have been reported in the wild as of the publication date (November 5, 2025). The vulnerability highlights the risks of insufficient input validation in WordPress plugins, especially those that allow user-generated content to be rendered dynamically.
Potential Impact
For European organizations, this vulnerability could lead to unauthorized script execution within their WordPress sites, potentially compromising user accounts, leaking sensitive information, or enabling further attacks such as phishing or malware distribution. Organizations relying on the Visual Link Preview plugin for content management or marketing may face reputational damage if attackers deface websites or inject malicious content targeting visitors. The medium severity score indicates a moderate risk, but the requirement for contributor-level access somewhat limits the attack surface to insiders or compromised accounts. However, many organizations allow contributors or similar roles to publish content, increasing exposure. The cross-site scripting vulnerability could also be leveraged to bypass security controls or escalate privileges within the web application. Given the widespread use of WordPress across Europe, especially among SMEs and public sector entities, the impact could be significant if exploited at scale.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Visual Link Preview plugin and verify the version in use. Until an official patch is released, administrators should consider disabling or uninstalling the plugin to eliminate the attack vector. Restrict contributor-level access strictly to trusted users and review user permissions to minimize the risk of malicious content injection. Implement web application firewalls (WAFs) with rules designed to detect and block common XSS payloads targeting the shortcode parameters. Employ Content Security Policy (CSP) headers to reduce the impact of injected scripts by restricting script execution sources. Regularly monitor website content for unauthorized changes or suspicious scripts. Finally, maintain an update schedule to apply security patches promptly once available from the vendor.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Belgium, Sweden, Austria
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 classified under CWE-80, affecting the Visual Link Preview plugin for WordPress developed by brechtvds. The vulnerability exists in versions up to and including 2.2.7 due to improper neutralization of script-related HTML tags in user-supplied attributes within the plugin's visual-link-preview shortcode. Authenticated attackers with at least contributor-level privileges can inject arbitrary JavaScript code into pages or posts by exploiting insufficient input sanitization and output escaping mechanisms. Once injected, the malicious scripts execute in the context of any user who views the compromised page, potentially allowing attackers to steal session cookies, perform actions on behalf of users, or redirect users to malicious sites. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C) because the vulnerability affects resources beyond the attacker’s privileges. No patches or fixes are currently linked, and no known exploits have been reported in the wild as of the publication date (November 5, 2025). The vulnerability highlights the risks of insufficient input validation in WordPress plugins, especially those that allow user-generated content to be rendered dynamically.
Potential Impact
For European organizations, this vulnerability could lead to unauthorized script execution within their WordPress sites, potentially compromising user accounts, leaking sensitive information, or enabling further attacks such as phishing or malware distribution. Organizations relying on the Visual Link Preview plugin for content management or marketing may face reputational damage if attackers deface websites or inject malicious content targeting visitors. The medium severity score indicates a moderate risk, but the requirement for contributor-level access somewhat limits the attack surface to insiders or compromised accounts. However, many organizations allow contributors or similar roles to publish content, increasing exposure. The cross-site scripting vulnerability could also be leveraged to bypass security controls or escalate privileges within the web application. Given the widespread use of WordPress across Europe, especially among SMEs and public sector entities, the impact could be significant if exploited at scale.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the Visual Link Preview plugin and verify the version in use. Until an official patch is released, administrators should consider disabling or uninstalling the plugin to eliminate the attack vector. Restrict contributor-level access strictly to trusted users and review user permissions to minimize the risk of malicious content injection. Implement web application firewalls (WAFs) with rules designed to detect and block common XSS payloads targeting the shortcode parameters. Employ Content Security Policy (CSP) headers to reduce the impact of injected scripts by restricting script execution sources. Regularly monitor website content for unauthorized changes or suspicious scripts. Finally, maintain an update schedule to apply security patches promptly once available from the vendor.
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/12/2025, 10:40:05 AM
Last updated: 12/20/2025, 6:10:33 PM
Views: 104
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-7782: CWE-862 Missing Authorization in WP JobHunt
HighCVE-2025-7733: CWE-639 Authorization Bypass Through User-Controlled Key in WP JobHunt
MediumCVE-2025-14298: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in damian-gora FiboSearch – Ajax Search for WooCommerce
MediumCVE-2025-12492: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
MediumCVE-2025-13619: CWE-269 Improper Privilege Management in CMSSuperHeroes Flex Store Users
CriticalActions
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.