{"id":"CVE-2026-39390","published":"2026-04-08T14:29:28Z","modified":"2026-04-08T16:13:16Z","title":"CI4MS has Stored XSS via srcdoc attribute bypass in Google Maps iframe setting","vendor":"ci4-cms-erp","product":"ci4ms","tier":"tail","description":{"text":"CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the Google Maps iframe setting (cMap field) in compInfosPost() sanitizes input using strip_tags() with an <iframe> allowlist and regex-based removal of on\\w+ event handlers. However, the srcdoc attribute is not an event handler and passes all filters. An attacker with admin settings access can inject an <iframe srcdoc=\"...\"> payload with HTML-entity-encoded JavaScript that executes in the context of the parent page when rendered to unauthenticated frontend visitors. This vulnerability is fixed in 0.31.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.10654,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-x3hr-cp7x-44r2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.13},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"ci4-cms-erp","affectedVersions":[{"vendor":"ci4-cms-erp","product":"ci4ms","versions":["< 0.31.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-08T16:09:31.073850Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"ci4-cms-erp/ci4ms","vulnerableRanges":["<0.31.4.0"],"patched":["0.31.4.0"],"from":["GHSA-x3hr-cp7x-44r2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-20483","exploited":false,"provenance":"source"}}