VYPR
Unrated severityNVD Advisory· Published Jan 17, 2022· Updated Aug 3, 2024

Cross-site Scripting (XSS) - Stored in chaskiq/chaskiq

CVE-2021-3853

Description

chaskiq is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Chaskiq before commit 51768b2 is vulnerable to stored XSS via unsanitized HTML content in conversation messages.

Vulnerability

Chaskiq versions prior to commit 51768b2 are vulnerable to stored Cross-Site Scripting (XSS) in the conversation list component. The renderConversationContent function directly inserts message.htmlContent into the DOM after sanitization, but the sanitizer alone is insufficient because it does not escape HTML entities before sanitization, allowing malicious scripts to bypass filters [1].

Exploitation

An attacker with the ability to send messages in a conversation can inject arbitrary HTML or JavaScript into the htmlContent field. When other users view the conversation list, the malicious content is rendered without proper escaping, leading to script execution [1].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, data theft, or further compromise of the application [1].

Mitigation

The vulnerability is fixed in commit 51768b2 by applying escapeHTML before sanitizeHtml on the htmlContent field. Users should update to a version including this commit or apply the patch manually. No version release date is provided [1].

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • chaskiq/chaskiqllm-fuzzy2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)range: unspecified

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.