Stored cross-site scripting in OpenCTI dashboard chart widgets
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-r8g4-2g5q-p83q. Fix status from GitHub. Impact type from CWE-79.
Summary
OpenCTI versions before 7.260807.0 and OpenCTI LTS versions from 7.260309.0-lts.0 before 7.260309.0-lts.7 are affected. Some chart labels, legends and tooltips in dashboard widgets insert entity names and theme colour values into the page as raw HTML without escaping (CWE-79). An attacker who can set an entity name or a theme colour can run script in the browser of any user who views the affected widget, with that user's privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Summary A stored cross-site scripting (XSS) vulnerability affects dashboard chart widgets in OpenCTI. Some chart labels, legends and tooltips were inserted into the page as raw HTML without escaping. These include entity names used as buckets in distribution widgets (donut, polar area, bar…) and theme colour values. Attacker-controlled HTML in those values runs in the browser of any user who views the widget. ### Details - **Entity labels:** in custom dashboard distribution widgets, entity names such as Organization or Author names are used as chart labels. ApexCharts renders legend items and tooltips through `innerHTML`, and these labels were passed to it unescaped. The `simpleLabelTooltip` helper (`opencti-front/src/utils/Charts.jsx`), used by donut and polar area charts, also interpolated `w.config.labels[seriesIndex]` directly into an HTML template string. - **Theme colours:** `simpleLabelTooltip` also inserted the theme's navigation background and text colours directly into an inline `style` attribute. A crafted theme value could break out of that attribute and inject HTML. *(Originally reported separately as GHSA-wfr2-9rr4-f6pq.)* ### Impact An attacker who can control an entity name can get script running in other users' sessions. They can do this by creating or editing the entity directly or by having it ingested from an external source such as a connector or feed. The same applies to an attacker who can set a theme colour value. The payload runs when a victim views or hovers over an affected widget, for example in a custom dashboard shared with everyone on the instance. It runs with the victim's privileges, so it can read or change data, or escalate privileges if the victim is an administrator. The platform's Content Security Policy limits exploitation but does not prevent it. ### Patches The fix was released in two steps. Upgrade to **7.260807.0** or later, or **7.260309.0-lts.7** or later on the LTS line: - **7.260803.0:** `simpleLabelTooltip` escapes labels, and theme colours must be 6-digit hex values or they fall back to `inherit` (#17444, LTS backport #17543). - **7.260807.0:** legend and tooltip output of all chart widgets is HTML-escaped (#17547, LTS backport #17561). - **7.260309.0-lts.7:** includes both backports. ### Workarounds None besides upgrading. To reduce exposure, limit who can share dashboards with all users and who can edit themes.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | OpenCTI | < 7.260807.0 | >= 7.260807.0 | Patch available | GHSA-r8g4-2g5q-p83q |
| — | OpenCTI LTS | >= 7.260309.0-lts.0, < 7.260309.0-lts.7 | >= 7.260309.0-lts.7 | Patch available | GHSA-r8g4-2g5q-p83q |
- OpenCTI Vendor— Affected < 7.260807.0 Fixed in >= 7.260807.0 Patch available GHSA-r8g4-2g5q-p83q
- OpenCTI LTS Vendor— Affected >= 7.260309.0-lts.0, < 7.260309.0-lts.7 Fixed in >= 7.260309.0-lts.7 Patch available GHSA-r8g4-2g5q-p83q
Remediation
Upgrade OpenCTI to 7.260807.0 or later, or OpenCTI LTS to 7.260309.0-lts.7 or later. The sources list no workaround besides upgrading, but limiting who can share dashboards with all users and who can edit themes reduces exposure.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-r8g4-2g5q-p83q OpenCTI Fixed in >= 7.260807.0 Advisory →
- Fix · GHSA-r8g4-2g5q-p83q OpenCTI LTS Fixed in >= 7.260309.0-lts.7 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-r8g4-2g5q-p83q
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences