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.
Published: 2025-11-05
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross-Site Scripting
Action: Update Plugin
AI Analysis

Impact

The Visual Link Preview plugin for WordPress is vulnerable to stored cross‑site scripting because the shortcode attributes are not properly sanitized or escaped. An authenticated attacker with contributor‑level access can embed arbitrary JavaScript into the attribute values, resulting in script execution whenever a page containing the malicious shortcode is viewed by any user.

Affected Systems

WordPress sites using the Visual Link Preview plugin developed by BrechtVds, specifically versions up to and including 2.2.7, are affected. Sites that have enabled the visual‑link‑preview shortcode and grant contributor or higher permissions to content editors are at risk.

Risk and Exploitability

With a CVSS score of 6.4 the vulnerability presents moderate severity and an EPSS score of less than 1% indicates a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires a user authenticated with contributor or higher, allowing the injection of malicious scripts that will run in the browsers of any visitor who loads the affected page.

Generated by OpenCVE AI on April 22, 2026 at 12:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Visual Link Preview plugin to the latest version, which removes the vulnerability.
  • If an upgrade is not immediately possible, remove or disable the visual‑link‑preview shortcode from all content or temporarily deactivate the plugin.
  • Restrict contributor and higher‑level role permissions so that only trusted users can create or edit content that may contain the shortcode.

Generated by OpenCVE AI on April 22, 2026 at 12:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Nov 2025 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Wed, 05 Nov 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Nov 2025 09:45:00 +0000

Type Values Removed Values Added
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.
Title Visual Link Preview <= 2.2.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via visual-link-preview Shortcode
Weaknesses CWE-80
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:57:52.359Z

Reserved: 2025-10-20T19:05:20.737Z

Link: CVE-2025-11987

cve-icon Vulnrichment

Updated: 2025-11-05T15:43:18.595Z

cve-icon NVD

Status : Deferred

Published: 2025-11-05T10:15:34.637

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-11987

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T12:15:16Z

Weaknesses