CVE-2026-66921
MediumCVSS 6.3Exploitation Probability (EPSS)
Low risk20th percentile - higher than 20% of all known CVEs
Summary
Pivotick's Markdown node-reference renderer fails to HTML-escape the attacker-controlled nodeName value, allowing injection of malicious HTML attributes or elements. This can lead to arbitrary JavaScript execution in the victim's browser.
Risk Assessment
An attacker could access information in the victim's context, modify displayed content, or perform actions using the victim's session.
Recommendation
Update Pivotick to a version containing the fix, which applies context-appropriate HTML escaping to node names.
Other vulnerabilities in Pivotick
See all- CVE-2026-67174Critical
Pivotick contains a DOM-based XSS vulnerability in UI element resolution and icon-rendering utilities. The tryResolveHTMLElement function treats any resolved string as HTML markup, and createIcon inserts SVG icons without sanitization. An unauthenticated attacker can provide a crafted graph, property value, or SVG icon, leading to JavaScript execution in the victim's browser.
- CVE-2026-67173Medium
Pivotick did not validate the URI scheme of node imagePath values, allowing an attacker to set a malicious URI. When a victim renders the graph, the browser could initiate an unintended request or invoke scheme-specific handling.
- CVE-2026-66922Medium
Pivotick used plain JavaScript objects as lookup tables indexed by caller-controlled node identifiers. Identifiers matching inherited properties from Object.prototype (e.g., constructor, __proto__) could be misinterpreted, leading to omitted nodes, incorrect hierarchies, bypassed cycle detection, or exceptions causing denial of service.
- CVE-2026-66920High
Pivotick has an uncontrolled-recursion vulnerability when processing graph and node data. Recursive graph traversals and JSON rendering can exhaust the JavaScript call stack with specially crafted data, causing page or browser crashes.
- CVE-2026-66919Medium
Pivotick contains a cross-site scripting vulnerability in the inspect and edit node modals. Node labels and descriptions from graph data are interpolated directly into HTML, allowing an attacker to inject malicious JavaScript.
- CVE-2026-66918High
Pivotick fails to sanitize attacker-controlled SVG markup from the style.svgIcon property before inserting it into the document. The vulnerable code assigns SVG markup to innerHTML, allowing execution of event handlers like <image> with onerror. An attacker can execute arbitrary JavaScript in the application context.
- CVE-2026-66825Medium
Pivotick contains an XSS vulnerability in the sidebar property-list component. Link-like property values (url, uri, href, link, website, homepage) were rendered as hyperlinks without URL scheme validation. An attacker can supply a malicious value using the javascript: scheme, including whitespace or control characters. Clicking the link can execute JavaScript in the application context. The vulnerability was fixed by normalizing values and blocking unsafe schemes.
Original NVD description (English source)
Pivotick’s Markdown node-reference renderer failed to HTML-escape the attacker-controlled nodeName value before interpolating it into both the data-node-name attribute and the body of a generated <span> element. Because the node-reference tokenizer rejected only square brackets, a crafted node name could still contain quotation marks, angle brackets, or other HTML metacharacters. An attacker could therefore terminate the quoted attribute or inject additional HTML elements and event-handler attributes. When malicious node-reference content is rendered by a consumer that does not apply DOMPurify or equivalent sanitization, arbitrary JavaScript may execute in the victim’s browser in the security context of the application. Successful exploitation requires a victim to open or render a crafted graph or note and could allow the attacker to access same-origin information, modify displayed content, or perform actions using the victim’s session. The patch resolves the issue by applying context-appropriate HTML escaping to node names before inserting them into either HTML text or quoted attribute values. The shared escaping function now encodes ampersands, angle brackets, and both types of quotation marks.

