@cognigy/chat-components is vulnerable to Cross-site Scripting (XSS)
65
Medium Risk
Affected versions of this package do not sanitize the inner content of iframe srcdoc attributes. DOMPurify sanitizes the outer HTML but treats srcdoc as a plain string, so an attacker can inject markup such as <iframe srcdoc="<script>...</script>"></iframe> to execute JavaScript in the page context or mount phishing content in the Transcript Editor. The patch adds a post-processing step that sanitizes each srcdoc value with DOMPurify and introduces iterative sanitization until output stabilizes to reduce nested-tag bypasses.
You are affected if you are using a version that falls within the vulnerable range.
@cognigy/chat-components is vulnerable to Cross-site Scripting (XSS) in versions 0.0.1 - 0.67.0.
Upgrade the @cognigy/chat-components library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant