PT-2026-34844

CVE-2026-41318

·

Published

2026-04-24

·

Updated

2026-04-25

Description by

CVSS 3.1
5.4
Medium
MetricsAV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions AnythingLLM versions prior to 1.12.1
Description The in-chat markdown renderer contains an unsafe custom rule for images that interpolates the markdown image alt text into an HTML alt attribute without HTML encoding. While most call-sites use DOMPurify.sanitize() for defense-in-depth, the Chartable component renders chart captions without sanitization. An attacker capable of influencing the LLM output—such as through indirect prompt injection in a shared workspace document or by creating a chart record in a multi-user workspace—can trigger stored DOM-level Cross-Site Scripting (XSS), which is a vulnerability allowing the execution of malicious scripts in a user's browser. The chat history is loaded via the 'GET /api/workspace/:slug/chats' endpoint and rendered in the UI.
Recommendations Update to version 1.12.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-4Q6M-QH3W-9GF5
Found an issue in the description? Have something to add? Feel free to write us 👾