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/12/2025, 10:40:05 UTC

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.

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/12/2025, 10:40:05 AM

Last updated: 12/20/2025, 6:10:33 PM

Views: 104

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