{
 "id": "WPSEC-2026-2358",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2358/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2358/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2358/index.md",
 "title": "WP Datepicker <= 2.1.6 - Authenticated (Administrator+) Stored Cross-Site Scripting via Date Format and Date Range Settings",
 "description": "The WP Datepicker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the datepicker date format, default date and date range settings in all versions up to, and including, 2.1.6 due to insufficient output escaping when the values are printed into generated JavaScript. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts that execute in pages loading the generated script. This only affects multi-site installations and installations where unfiltered_html has been disabled.",
 "plugin": {
  "slug": "wp-datepicker",
  "name": "WP Datepicker",
  "full_name": "WP Datepicker",
  "wordpress_org": "https://wordpress.org/plugins/wp-datepicker/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-datepicker/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-datepicker"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.1.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.1.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.1.7",
 "remediation": "Update to 2.1.7 or later.",
 "fix_released": "2026-10-30T23:04:45+00:00",
 "published": "2026-11-03T14:48:33+00:00",
 "updated": "2026-11-03T13:40:03.934352+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2358/",
  "https://plugins.svn.wordpress.org/wp-datepicker/tags/2.1.7/",
  "https://wordpress.org/plugins/wp-datepicker/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-datepicker",
 "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-11-03"
 }
}