Link Whisper Free <= 0.9.7 - Authenticated (Editor+) SQL Injection via 'orderby' and 'post_id' Parameters
- ID
- WPSEC-2026-0865
- Plugin
- Link Whisper Free (link-whisper)
- Affected
- all versions before 0.9.8
- Remediation
- Update to 0.9.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-89
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-13
- Attack surface
- Link Whisper Free on WPSec AttackSurface
- Fix released
- Published
Description
The Link Whisper Free plugin for WordPress is vulnerable to SQL Injection via the Clicks Report 'orderby' parameter and the Click Details page 'post_id' parameter (when 'post_type' is 'url') in all versions up to, and including, 0.9.7. This is due to insufficient escaping of user-supplied values and insufficient preparation of the existing SQL queries: the orderby value only goes through sanitize_text_field() before it is placed in the ORDER BY clause, and the URL value goes through esc_url_raw(), which keeps single quotes, before it is placed in a quoted string. This makes it possible for authenticated attackers with access to the Link Whisper reports (Editor-level access and above by default) to append additional SQL queries to existing queries and extract sensitive information from the database.
References
- https://wpsec.com/vuln/WPSEC-2026-0865/
- https://plugins.svn.wordpress.org/link-whisper/tags/0.9.8/
- https://wordpress.org/plugins/link-whisper/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS