CVE-2026-39980: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in OpenCTI-Platform opencti
OpenCTI-Platform versions prior to 6. 9. 5 contain a critical vulnerability (CVE-2026-39980) in the safeEjs. ts file where EJS templates are not properly sanitized. This flaw allows users with Manage customization privileges to execute arbitrary JavaScript code within the OpenCTI platform process during notifier template execution. The vulnerability is fixed in version 6. 9. 5. No known exploits in the wild have been reported.
AI Analysis
Technical Summary
CVE-2026-39980 is a critical vulnerability in the OpenCTI-Platform's opencti product affecting versions before 6.9.5. The issue stems from improper neutralization of special elements in EJS templates (CWE-1336) within the safeEjs.ts file. Specifically, users granted the Manage customization capability can inject and execute arbitrary JavaScript code in the context of the platform process during notifier template execution. This can lead to complete compromise of confidentiality, integrity, and availability of the affected system. The vulnerability has a CVSS 3.1 base score of 9.1, indicating high exploitability and impact. The issue is resolved in version 6.9.5.
Potential Impact
Successful exploitation allows privileged users to execute arbitrary JavaScript code within the OpenCTI platform process, potentially leading to full system compromise including data theft, modification, or denial of service. The vulnerability affects confidentiality, integrity, and availability at a critical level. There are no reports of known exploits in the wild at this time.
Mitigation Recommendations
Upgrade OpenCTI-Platform to version 6.9.5 or later, where this vulnerability is fixed. Since the vulnerability requires Manage customization privileges, restricting this capability to trusted users can reduce risk. Patch status is not explicitly stated in vendor advisory content, but the description confirms the fix in version 6.9.5. No additional mitigations are indicated.
CVE-2026-39980: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in OpenCTI-Platform opencti
Description
OpenCTI-Platform versions prior to 6. 9. 5 contain a critical vulnerability (CVE-2026-39980) in the safeEjs. ts file where EJS templates are not properly sanitized. This flaw allows users with Manage customization privileges to execute arbitrary JavaScript code within the OpenCTI platform process during notifier template execution. The vulnerability is fixed in version 6. 9. 5. No known exploits in the wild have been reported.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-39980 is a critical vulnerability in the OpenCTI-Platform's opencti product affecting versions before 6.9.5. The issue stems from improper neutralization of special elements in EJS templates (CWE-1336) within the safeEjs.ts file. Specifically, users granted the Manage customization capability can inject and execute arbitrary JavaScript code in the context of the platform process during notifier template execution. This can lead to complete compromise of confidentiality, integrity, and availability of the affected system. The vulnerability has a CVSS 3.1 base score of 9.1, indicating high exploitability and impact. The issue is resolved in version 6.9.5.
Potential Impact
Successful exploitation allows privileged users to execute arbitrary JavaScript code within the OpenCTI platform process, potentially leading to full system compromise including data theft, modification, or denial of service. The vulnerability affects confidentiality, integrity, and availability at a critical level. There are no reports of known exploits in the wild at this time.
Mitigation Recommendations
Upgrade OpenCTI-Platform to version 6.9.5 or later, where this vulnerability is fixed. Since the vulnerability requires Manage customization privileges, restricting this capability to trusted users can reduce risk. Patch status is not explicitly stated in vendor advisory content, but the description confirms the fix in version 6.9.5. No additional mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-08T00:01:47.628Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7f88e1cc7ad14da0c17a2
Added to database: 4/9/2026, 7:05:50 PM
Last enriched: 4/9/2026, 7:20:44 PM
Last updated: 4/9/2026, 8:10:46 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.