{
 "id": "WPSEC-2026-4495",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4495/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4495/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4495/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4495.json",
 "title": "Pinpoint Booking System <= 2.9.9.7.4 - Authenticated (Administrator+) SQL Injection via Calendar Default Availability",
 "description": "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.",
 "plugin": {
  "slug": "booking-system",
  "name": "Pinpoint Booking System",
  "full_name": "Pinpoint Booking System – Legacy version",
  "wordpress_org": "https://wordpress.org/plugins/booking-system/",
  "advisories_url": "https://wpsec.com/vuln/plugin/booking-system/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/booking-system"
 },
 "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": "2.5.8",
    "from_inclusive": true,
    "to": "2.9.9.7.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.5.8 before 2.9.9.7.5"
  ]
 },
 "introduced_in": "2.5.8",
 "fixed_in": "2.9.9.7.5",
 "remediation": "Update to 2.9.9.7.5 or later.",
 "fix_released": "2026-12-01T16:01:22+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:33:52.852930+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4495/",
  "https://plugins.svn.wordpress.org/booking-system/tags/2.9.9.7.5/",
  "https://wordpress.org/plugins/booking-system/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/booking-system",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-03"
 }
}