06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
Offensive Security · JFrog Security Research · 123d · 2 min read

NoteGen is vulnerable to Chat Preview XSS via Unsanitized AI/Skill HTML Rendering

## Summary NoteGen is vulnerable to Chat Preview XSS via Unsanitized AI/Skill HTML Rendering ## Component note-gen (NoteGen) ## Affected versions < 0.32.0 ## Description NoteGen before 0.32.0 renders AI chat responses with markdown-it configured with html:true and injects the result into the DOM via dangerouslySetInnerHTML in chat-preview, without HTML sanitization and with CSP set to null. Attacker-controlled content that reaches the model prompt, for example a malicious skill REFERENCE.md that instructs the model to emit HTML, can cause the model response to include executable markup such as an img onerror handler. When the user views the chat response, that markup runs as JavaScript in

…

Discussion

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks