Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

fix(security): escape single quotes in GraphStorytellerExporter (CWE-79) - #149

Merged
sauravbhattacharya001 merged 1 commit into
masterfrom
fix/storyteller-xss-single-quote
Apr 1, 2026
Merged

sauravbhattacharya001 merged 1 commit into
masterfrom
fix/storyteller-xss-single-quote

Conversation

@sauravbhattacharya001

Copy link
Copy Markdown
Owner

The esc() method was missing single-quote escaping, allowing potential XSS via crafted node IDs. Added single-quote escaping to match other exporters.

The esc() method was missing single-quote escaping, allowing potential
XSS via crafted node IDs containing single quotes in attribute contexts.
Added ' escaping to match the complete HTML escaping used by
InteractiveHtmlExporter.escHtml() and ExportUtils.escapeXml().
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added visualization Graph visualization and UI size/xs labels Mar 31, 2026
@sauravbhattacharya001
sauravbhattacharya001 merged commit a067ac4 into master Apr 1, 2026
4 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size/xs visualization Graph visualization and UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant