CVE-2026-45138
Last modified
CVE-2026-45138 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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 any visitor's browser, including the superadmin when previewing or editing posts. Version 0.31.9.0 patches the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ci4-cms-erp | ci4ms | < 0.31.9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-45138?
How severe is CVE-2026-45138?
How do I fix CVE-2026-45138?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45132CloudPirates Open Source Helm Charts is a collection of Helm…10
- CVE-2026-45133Symfony is a PHP framework for web and console applications …7.5
- CVE-2026-45134LangSmith Client SDKs provide SDK's for interacting with the…7.1
- CVE-2026-45135Caddy is an extensible server platform that uses TLS by defa…8.1
- CVE-2026-45136claude-code-cache-fix is a cache optimization proxy for Clau…7.8
- CVE-2026-45137Anchor is a framework providing several convenient developer…8.2
- CVE-2026-45139CI4MS is a CodeIgniter 4-based content management system ske…6.5
- CVE-2026-4514A flaw has been found in PbootCMS up to 3.2.12. Affected by …6.3
- CVE-2026-45147SiYuan is an open-source personal knowledge management syste…4.3
- CVE-2026-45148SiYuan is an open-source personal knowledge management syste…4.3
- CVE-2026-45149The brace-expansion library generates arbitrary strings cont…7.5
- CVE-2026-4515A vulnerability has been found in Foundation Agents MetaGPT …6.3
Are you affected by CVE-2026-45138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
