Link Library <= 7.10.7 - Unauthenticated Stored Cross-Site Scripting via Link Name, Description and Target
- ID
- WPSEC-2026-4154
- Plugin
- Link Library (link-library)
- Affected
- from 7.10.3 before 7.10.8
- Remediation
- Update to 7.10.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
- Attack surface
- Link Library on WPSec AttackSurface
- Fix released
- Published
Description
The Link Library plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the link name, link description and link target values shown in the title and target attributes of links rendered by the link library shortcode and block. The issue affects versions 7.10.3 up to, and including, 7.10.7. The cause is insufficient output escaping: the complete ' title="..."' and ' target="..."' fragments were passed through esc_html(), which encodes the surrounding quotes and leaves the attribute value unquoted, so a value containing spaces can add new attributes such as event handlers. This makes it possible for unauthenticated attackers using the front-end link submission form (link name and description), and for authenticated attackers with contributor-level access and above who create links in the dashboard (name, description and target), to inject arbitrary web scripts. The scripts run when a user views a page that displays the link, once the link is published or the library is configured to show pending or draft links.
References
- https://wpsec.com/vuln/WPSEC-2026-4154/
- https://plugins.svn.wordpress.org/link-library/tags/7.10.8/
- https://wordpress.org/plugins/link-library/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS