Vulnerabilities / Link Library / WPSEC-2026-3196

Link Library <= 7.10.1 - Unauthenticated Arbitrary Shortcode Execution via Link Submission

High 7.3 CWE-94Fixed in 7.10.2
ID
WPSEC-2026-3196
Plugin
Link Library (link-library)
Affected
all versions before 7.10.2
Remediation
Update to 7.10.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-16
Attack surface
Link Library on WPSec AttackSurface
Fix released
Published

Description

The Link Library plugin for WordPress is vulnerable to arbitrary shortcode execution via the front-end link submission form in all versions up to, and including, 7.10.1. This is due to the plugin storing submitted link fields such as the name, description and large description with only sanitize_text_field(), which keeps shortcode syntax, and then running that data through do_shortcode() and the embed shortcode handler when the link library or a single link page is displayed. The whole rendered library output is also passed through do_shortcode() again. This makes it possible for unauthenticated attackers to run arbitrary shortcodes. They run when the library is displayed, either right away if user-submitted links are published automatically or once an administrator approves the link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0