What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Visual Link Preview versions 2.2.7 and earlier contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts affecting other users on the site. The vulnerability exists due to improper handling of user-supplied input in link preview functionality. An attacker with low-level account access can craft malicious content that executes in other users' browsers when they view the preview.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers when they view link previews.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other site visitors, potentially stealing session tokens or modifying page content.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; no user interaction required from victims.
Key dates
06Disclosure timeline
November 5, 2025
CVE published
April 8, 2026
Record updated