# CVE-2026-39390: CI4MS has Stored XSS via srcdoc attribute bypass in Google Maps iframe setting

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-08T14:29:28.500Z
- Modified: 2026-07-24T21:10:00.143Z
- Also known as: GHSA-x3hr-cp7x-44r2
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ci4-cms-erp ci4ms: < 0.31.4.0; up to 0.31.3.0
- ci4-cms-erp/ci4ms (Packagist): before 0.31.4.0

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-x3hr-cp7x-44r2> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39390> (advisory)
- <https://github.com/ci4-cms-erp/ci4ms> (package)
- <https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.4.0> (web)

## Sources

- CVE List: [CVE-2026-39390](https://www.cve.org/CVERecord?id=CVE-2026-39390), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-x3hr-cp7x-44r2](https://github.com/advisories/GHSA-x3hr-cp7x-44r2), CC-BY-4.0, modified 2026-04-08
- NVD: [CVE-2026-39390](https://nvd.nist.gov/vuln/detail/CVE-2026-39390), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39390 · Whole record: https://cve.day/CVE-2026-39390.json · Rebuilt by cve.day 2026-11-25T22:59:18.279Z
