{"id":82262,"date":"2026-07-20T03:46:58","date_gmt":"2026-07-20T00:16:58","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-45138-ci4ms-stored-xss-in-blog-content-via-broken-html_purify-validation-rule\/"},"modified":"2026-07-20T03:46:58","modified_gmt":"2026-07-20T00:16:58","slug":"cve-2026-45138-ci4ms-stored-xss-in-blog-content-via-broken-html_purify-validation-rule","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-45138-ci4ms-stored-xss-in-blog-content-via-broken-html_purify-validation-rule\/","title":{"rendered":"CVE-2026-45138 &#8211; CI4MS: Stored XSS in Blog Content via Broken `html_purify` Validation Rule"},"content":{"rendered":"<p>CVE ID :CVE-2026-45138<\/p>\n<p>  Published : July 20, 2026, 12:16 a.m. | 1\u00a0hour, 25\u00a0minutes ago<\/p>\n<p>  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 &amp;$str`), but CodeIgniter 4&#8217;s validator passes a local copy of the value, so the sanitized text is silently discarded. The Blog controller writes `$lanData[&#8216;content&#8217;]` directly into `blog_langs.content`, and the public template echoes it without escaping \u2014 yielding stored XSS executable in any visitor&#8217;s browser, including the superadmin when previewing or editing posts. Version 0.31.9.0 patches the issue.<\/p>\n<p>  Severity: 5.4 | MEDIUM<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-45138 Published : July 20, 2026, 12:16 a.m. | 1\u00a0hour, 25\u00a0minutes ago 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 &amp;$str`), but CodeIgniter 4&#8217;s validator passes a local copy of the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82262","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82262"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82262\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}