Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

CVE-2026-39980: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine in OpenCTI-Platform opencti

0
Critical
VulnerabilityCVE-2026-39980cvecve-2026-39980cwe-1336
Published: 04/09/2026 (04/09/2026, 16:54:31 UTC)
Source: CVE Database V5
Vendor/Project: OpenCTI-Platform
Product: opencti

Description

OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to 6.9.5, the safeEjs.ts file does not properly sanitize EJS templates. Users with the Manage customization capability can run arbitrary JavaScript in the context of the OpenCTI platform process during notifier template execution. This vulnerability is fixed in 6.9.5.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
opencti-platform/opencti
pkg:github/opencti-platform/opencti
Affected versions
<6.9.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 19:20:44 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 04/09/2026, 19:05:50 UTC

Last enriched: 04/09/2026, 19:20:44 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 167

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses