{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4495",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "Pinpoint Booking System <= 2.9.9.7.4 - Authenticated (Administrator+) SQL Injection via Calendar Default Availability",
 "details": "The Pinpoint Booking System plugin for WordPress is vulnerable to second-order SQL Injection via the calendar default availability data in all versions from 2.5.8 up to, and including, 2.9.9.7.4, due to the JSON-encoded default availability being concatenated into the INSERT query on the days table, without escaping or preparation, when a reservation is created for a day that has no stored availability record yet. This makes it possible for authenticated attackers with administrator-level access, or a role the site has given the plugin's booking system permission, to store data that adds SQL to that query when a booking is made. This could be used to extract sensitive information from the database.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "booking-system"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.5.8"
      },
      {
       "fixed": "2.9.9.7.5"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.5.8 before 2.9.9.7.5"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4495/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/booking-system/tags/2.9.9.7.5/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/booking-system/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4495/",
  "cwe_ids": [
   "CWE-89"
  ],
  "vulnerability_type": "SQLI",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
