{
 "id": "WPSEC-2026-4655",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4655/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4655/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4655/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4655.json",
 "title": "The Events Calendar <= 6.18.5 - Unauthenticated Arbitrary Shortcode Execution via Calendar Embed 'view_data' Parameter",
 "description": "The The Events Calendar plugin for WordPress is vulnerable to arbitrary shortcode execution via the Calendar Embeds page in all versions from 6.11.0 up to, and including, 6.18.5. This is due to the plugin rendering the embedded calendar view from a context that still reads request-supplied 'view_data' values, such as the search keyword, and printing that view HTML into the post content through a 'the_content' filter that runs before WordPress processes shortcodes, without neutralizing shortcode brackets. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes registered on the site by visiting a published Calendar Embed page with a crafted request.",
 "plugin": {
  "slug": "the-events-calendar",
  "name": "The Events Calendar",
  "full_name": "The Events Calendar",
  "wordpress_org": "https://wordpress.org/plugins/the-events-calendar/",
  "advisories_url": "https://wpsec.com/vuln/plugin/the-events-calendar/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/the-events-calendar"
 },
 "type": "CONTENT INJECTION",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "6.11.0",
    "from_inclusive": true,
    "to": "6.18.5.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 6.11.0 before 6.18.5.1"
  ]
 },
 "introduced_in": "6.11.0",
 "fixed_in": "6.18.5.1",
 "remediation": "Update to 6.18.5.1 or later.",
 "fix_released": "2026-12-03T20:18:15+00:00",
 "published": "2026-12-04T20:41:37+00:00",
 "updated": "2026-12-04T09:11:30.159343+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4655/",
  "https://plugins.svn.wordpress.org/the-events-calendar/tags/6.18.5.1/",
  "https://wordpress.org/plugins/the-events-calendar/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/the-events-calendar",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-12-04"
 }
}