{
 "id": "WPSEC-2026-0620",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0620/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0620/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0620/index.md",
 "title": "WP Store Locator <= 3.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'template' Shortcode Attribute",
 "description": "The WP Store Locator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'template' attribute of the [wpsl] shortcode in versions 3.0.0 up to, and including, 3.0.3 due to insufficient input validation and missing output escaping when the value is added to the class attribute of the store locator wrapper. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "wp-store-locator",
  "name": "WP Store Locator",
  "full_name": "WP Store Locator",
  "wordpress_org": "https://wordpress.org/plugins/wp-store-locator/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-store-locator/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-store-locator"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.0.0",
    "from_inclusive": true,
    "to": "3.1.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.0 before 3.1.0"
  ]
 },
 "introduced_in": "3.0.0",
 "fixed_in": "3.1.0",
 "remediation": "Update to 3.1.0 or later.",
 "fix_released": "2026-10-07T09:11:25+00:00",
 "published": "2026-10-08T09:45:16+00:00",
 "updated": "2026-10-07T11:22:48.206710+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0620/",
  "https://plugins.svn.wordpress.org/wp-store-locator/tags/3.1.0/",
  "https://wordpress.org/plugins/wp-store-locator/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-store-locator",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "None seen",
  "as_of": "2026-10-08"
 }
}