# CVE-2026-39391: CI4MS has Stored XSS via Unescaped Blacklist Note in Admin User List

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/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:30:18.750Z
- Modified: 2026-07-20T20:10:00.110Z
- Also known as: GHSA-7cm9-v848-cfh2
- 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 blacklist (ban) note parameter in UserController::ajax_blackList_post() is stored in the database without sanitization and rendered into an HTML data-note attribute without escaping. An admin with blacklist privileges can inject arbitrary JavaScript that executes in the browser of any other admin who views the user management page. This vulnerability is fixed in 0.31.4.0.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: 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`
- GitHub: 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-7cm9-v848-cfh2> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39391> (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-39391](https://www.cve.org/CVERecord?id=CVE-2026-39391), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-7cm9-v848-cfh2](https://github.com/advisories/GHSA-7cm9-v848-cfh2), CC-BY-4.0, modified 2026-04-08
- NVD: [CVE-2026-39391](https://nvd.nist.gov/vuln/detail/CVE-2026-39391), Public domain, modified 2026-07-20

---

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