CVE Explorer
CVE-2026-45138
CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the custom `html_purify` validation rule used to sanitize blog post bodies relies on by-reference mutation (`?string &$str`), but CodeIgniter 4's validator passes a local copy of the value, so the sanitized text is silently discarded. The Blog controller writes `$lanData['content']` directly into `blog_langs.content`, and the public template echoes it without escaping — yielding stored XSS executable in
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"ci4ms","vendor":"ci4-cms-erp","versions":[{"status":"affected","version":"< 0.31.9.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.9.0","tags":["x_refsource_MISC"],"url":"https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.9.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/cna/references/1
{"name":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-2m69-jmvh-6chr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-2m69-jmvh-6chr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-2m69-jmvh-6chr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a493a1898588a3c489a1b8789ff2929218c1a3ce3589ab22de16e10da2db559d · sha256:711d5f3d88b43c76… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.