# CVE-2026-67174: DOM-Based Cross-Site Scripting via Unsafe String and SVG Icon Rendering in Pivotick

> An attacker can execute arbitrary JavaScript in a victim's browser via unsafe HTML and SVG rendering in Pivotick, potentially stealing data or modifying application state.

- **Severity:** Critical 9.2 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 28 Jul 2026
- **Updated:** 28 Jul 2026
- **Also known as:** GHSA-q33w-f2qg-4gq7

## What is CVE-2026-67174?

CVE-2026-67174 is a critical cross-site scripting vulnerability in pivotick, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Pivotick contains a DOM-based cross-site scripting vulnerability in its generic UI element resolution and icon-rendering utilities.

The tryResolveHTMLElement function treated any resolved string as HTML markup by assigning it to a <template> element through innerHTML. Strings derived from untrusted graph properties or custom rendering callbacks could therefore introduce arbitrary HTML or SVG elements into the live document. The vulnerable function was used by multiple UI components, including headers, property panels, extra panels, and tooltips.

Additionally, createIcon inserted caller-supplied svgIcon markup into a template without sanitization. An application integrating Pivotick and deriving icon markup from untrusted data could therefore expose a second script-execution path.

An unauthenticated attacker able to provide a crafted graph, property value, rendering result, or SVG icon could execute JavaScript in another user's browser when the affected content is displayed or interacted with. Successful exploitation could allow the attacker to access information available to the victim, manipulate graph data or application state, and perform actions with the victim's privileges.

The patch changes string rendering to use textContent, requiring callers to explicitly return an Element when HTML rendering is intended. It also sanitizes SVG icon markup before inserting it into the DOM.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2026-67174?


## How do I fix CVE-2026-67174?

No fix has been published for CVE-2026-67174 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-67174 being exploited?

There is no known exploitation of CVE-2026-67174 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-67174 and fix it if it is affected.

What it is: CVE-2026-67174 is a critical cross-site scripting vulnerability in pivotick, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-67174 in the wild and no public exploit code.

Affected product: pivotick. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-67174/ (Markdown: https://insights.sbomify.com/CVE-2026-67174/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-67174
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-67174
- OSV: https://osv.dev/vulnerability/CVE-2026-67174

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-67174/
Summaries are generated and may contain mistakes; the official description above is the record.
