Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-46237 Overview
CVE-2025-46237 is a stored Cross-Site Scripting (XSS) vulnerability affecting the Yannick Lefebvre Link Library plugin for WordPress. The flaw results from improper neutralization of user-supplied input during web page generation [CWE-79]. All versions of Link Library up to and including 7.8 are affected. An authenticated attacker with low privileges can inject malicious JavaScript that executes in the browser of any user who views the affected page. The vulnerability requires user interaction to trigger and spans across security scopes, enabling impact beyond the vulnerable component.
Critical Impact
Attackers with low-privilege WordPress access can store malicious scripts that execute against site visitors and administrators, enabling session theft and administrative action hijacking.
Affected Products
- Yannick Lefebvre Link Library plugin for WordPress
- All versions from inception through 7.8
- WordPress sites with the link-library plugin installed and active
Discovery Timeline
- 2025-04-22 - CVE CVE-2025-46237 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-46237
Vulnerability Analysis
The Link Library plugin fails to properly sanitize or encode user-controlled input before rendering it within WordPress pages. This classifies as a stored XSS vulnerability under [CWE-79]. Stored XSS persists the malicious payload within the application's data store, meaning the script executes every time an affected page loads. The scope change indicator reflects that injected scripts execute in a different security context than the vulnerable plugin itself, affecting other users' browser sessions.
Root Cause
The root cause is missing or insufficient output encoding on plugin fields that accept user input. When administrators or contributors submit link data, the plugin stores the raw input and later renders it directly into HTML without context-appropriate escaping. WordPress provides functions such as esc_html(), esc_attr(), and wp_kses_post() to prevent script injection, but these were not consistently applied to the affected fields in Link Library versions up to 7.8.
Attack Vector
An attacker needs an authenticated WordPress account with permission to submit or edit link entries managed by the plugin. The attacker injects a crafted payload containing JavaScript into a vulnerable input field. The payload persists in the WordPress database. When a victim, often an administrator or site visitor, loads a page that renders this content, the script executes in the victim's browser. The attacker can steal session cookies, perform actions on behalf of the victim, or redirect users to malicious sites. See the Patchstack XSS Vulnerability Advisory for additional technical details.
Detection Methods for CVE-2025-46237
Indicators of Compromise
- Unexpected <script>, onerror, onload, or javascript: strings in Link Library entries stored in the WordPress database.
- Outbound HTTP requests from administrator browsers to unfamiliar domains after loading pages that render link library content.
- New or modified administrator accounts created shortly after a logged-in session loaded a page containing plugin output.
Detection Strategies
- Query the wp_posts, wp_postmeta, and plugin-specific tables for HTML event handlers or script tags within Link Library fields.
- Deploy a Web Application Firewall (WAF) rule to flag HTTP POST requests to Link Library endpoints that contain script syntax or encoded JavaScript.
- Review WordPress audit logs for low-privilege users submitting or editing link entries with unusually long or encoded payloads.
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to capture inline script violations originating from WordPress pages.
- Monitor browser-side telemetry for anomalous JavaScript execution patterns on pages rendered by the link-library plugin.
- Track plugin version inventory across WordPress deployments to identify instances still running version 7.8 or earlier.
How to Mitigate CVE-2025-46237
Immediate Actions Required
- Update the Link Library plugin to a version later than 7.8 as soon as the vendor publishes a patched release.
- Audit existing Link Library entries for stored script payloads and remove or sanitize any malicious content.
- Review WordPress user accounts and revoke access for low-privilege users who no longer require contributor or editor roles.
Patch Information
At the time of publication, the vendor advisory indicates the vulnerability affects Link Library through version 7.8. Administrators should consult the Patchstack XSS Vulnerability Advisory for the latest fixed version and upgrade guidance.
Workarounds
- Deactivate the Link Library plugin until a patched version is installed if active use is not required.
- Restrict WordPress role assignments so that only trusted administrators can create or edit link entries.
- Deploy a WAF with virtual patching rules that block XSS payloads targeting the plugin's input endpoints.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

