Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11987: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in brechtvds Visual Link Preview

0
Medium
VulnerabilityCVE-2025-11987cvecve-2025-11987cwe-80
Published: Wed Nov 05 2025 (11/05/2025, 09:27:39 UTC)
Source: CVE Database V5
Vendor/Project: brechtvds
Product: 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

AILast updated: 11/05/2025, 09:53:21 UTC

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.

Need more detailed analysis?Get Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats