{
 "id": "WPSEC-2026-0865",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0865/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0865/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0865/index.md",
 "title": "Link Whisper Free <= 0.9.7 - Authenticated (Editor+) SQL Injection via 'orderby' and 'post_id' Parameters",
 "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.",
 "plugin": {
  "slug": "link-whisper",
  "name": "Link Whisper Free",
  "full_name": "Link Whisper Free",
  "wordpress_org": "https://wordpress.org/plugins/link-whisper/",
  "advisories_url": "https://wpsec.com/vuln/plugin/link-whisper/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/link-whisper"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "0.9.8",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 0.9.8"
  ]
 },
 "introduced_in": null,
 "fixed_in": "0.9.8",
 "remediation": "Update to 0.9.8 or later.",
 "fix_released": "2026-10-13T02:18:51+00:00",
 "published": "2026-10-14T02:42:48+00:00",
 "updated": "2026-10-13T12:12:46.000627+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/link-whisper",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-13"
 }
}