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

- **ID:** WPSEC-2026-3196
- **Plugin:** Link Library (`link-library`), https://wordpress.org/plugins/link-library/
- **Affected versions:** all versions before 7.10.2
- **Fixed in:** 7.10.2 (Update to 7.10.2 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/link-library
- **Fix released:** 2026-11-15
- **Published:** 2026-11-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3196/

## 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

- https://wpsec.com/vuln/WPSEC-2026-3196/
- https://plugins.svn.wordpress.org/link-library/tags/7.10.2/
- https://wordpress.org/plugins/link-library/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3196/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
