{
 "id": "WPSEC-2026-1887",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1887/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1887/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1887/index.md",
 "title": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce <= 1.17.10 - Unauthenticated Stored Cross-Site Scripting via Inbound Email Body",
 "description": "The ERP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the body of inbound emails in all versions up to, and including, 1.17.10, due to insufficient input sanitization and output escaping when IMAP or Gmail inbound emails are saved as CRM activities and shown unescaped in the contact activity timeline. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute whenever a CRM user views the contact's activity feed. Exploitation requires the CRM inbound email (IMAP or Gmail) feature to be configured.",
 "plugin": {
  "slug": "erp",
  "name": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce",
  "full_name": "ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/erp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/erp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/erp"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.17.11",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.17.11"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.17.11",
 "remediation": "Update to 1.17.11 or later.",
 "fix_released": "2026-10-28T03:14:46+00:00",
 "published": "2026-10-29T03:40:54+00:00",
 "updated": "2026-10-28T09:33:50.891462+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1887/",
  "https://plugins.svn.wordpress.org/erp/tags/1.17.11/",
  "https://wordpress.org/plugins/erp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/erp",
 "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-10-29"
 }
}