Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ci4-cms-erp/ci4ms
  4. ›
  5. CVE-2026-39392

CVE-2026-39392: CI4MS has stored XSS in Pages Content Due to Missing html_purify Sanitization

April 8, 2026

The Pages module does not apply the html_purify validation rule to content fields during create and update operations, while the Blog module does. Page content is stored unsanitized in the database and rendered as raw HTML on the public frontend via echo $pageInfo->content. An authenticated admin with page-editing privileges can inject arbitrary JavaScript that executes in the browser of every public visitor viewing the page.

References

  • github.com/advisories/GHSA-fjpj-6qcq-6pw2
  • github.com/ci4-cms-erp/ci4ms
  • github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.4.0
  • github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-fjpj-6qcq-6pw2
  • nvd.nist.gov/vuln/detail/CVE-2026-39392

Code Behaviors & Features

Detect and mitigate CVE-2026-39392 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.31.4.0

Fixed versions

  • 0.31.4.0

Solution

Upgrade to version 0.31.4.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/ci4-cms-erp/ci4ms/CVE-2026-39392.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:11 +0000.