# Link Library <= 7.9.7 - Unauthenticated SQL Injection via Category Name

- **ID:** WPSEC-2026-1294
- **Plugin:** Link Library (`link-library`), https://wordpress.org/plugins/link-library/
- **Affected versions:** all versions before 7.10.0
- **Fixed in:** 7.10.0 (Update to 7.10.0 or later.)
- **Severity:** Medium 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-89
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/link-library
- **Fix released:** 2026-10-19
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1294/

## Description

The Link Library plugin for WordPress is vulnerable to SQL Injection via the 'cat_name' query variable used when adding the link category name to page titles in all versions up to, and including, 7.9.7. This is due to insufficient escaping of the user-supplied value and the lack of preparation of the existing SQL query in the ll_title_creator() function. This makes it possible for unauthenticated attackers to append additional SQL queries to existing queries and extract sensitive information from the database on sites where the library's permalink rewrite option is enabled and the theme outputs the page title through wp_title().

## References

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

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

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.
