Intel

AIKIDO-2026-752978

graphifyy is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 6 days ago

59

Medium Risk

This Affects:

PYTHONgraphifyy
0.3.1 - 0.9.14
Fixed in 0.9.15
Are you affected? Scan for Free

TL;DR

The HTML report exporter in graphify/exporters/html.py builds the neighbor focus links by dropping a node id straight into a double-quoted inline onclick attribute in the generated graph.html. Node ids and labels sourced from documents or from titles scraped via graphify add can contain a double-quote, which truncates the attribute and lets a hostile source inject a live event handler into the report. When a user opens the exported report locally, the injected handler executes as stored cross-site scripting. The fix carries the id in an HTML-escaped data-nid attribute dispatched through a single delegated click listener, removing the injection vector.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you export HTML graph reports built from untrusted or externally sourced content.

Background info

graphifyy is vulnerable to Cross-Site Scripting (XSS) in versions 0.3.1 - 0.9.14.

How to fix this

Upgrade the graphifyy library to the patch version.