{
  "id": "CVE-2026-45270",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45270",
  "published_at": "2026-07-20T14:12:13.093Z",
  "title": "CI4MS: Stored XSS in Pages Module Content via Broken html_purify Validation Rule",
  "vendor": "ci4-cms-erp",
  "product": "ci4ms",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the `Pages` backend module registers the `html_purify` validation rule on language-keyed page content but persists the raw, un-purified POST value into the database. The public renderer for pages (`Home::index()` → `app/Views/templates/default/pages.php`) emits `$pageInfo-\u003econtent` without `esc()`, yielding stored XSS that fires for every public visitor of the affected page — including administrators. Because pages may be promoted to the site home page, the payload can be served at `/` and reach every visitor of the site. Version 0.31.9.0 patches the issue.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ci4-cms-erp",
        "product": "ci4ms",
        "ranges": [
          "\u003c 0.31.9.0"
        ],
        "fixed_in": [
          "0.31.9.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ci4ms to 0.31.9.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-gqr2-7hcg-rchf"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.9.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
