Description
Libredesk is a self-hosted customer support desk. Prior to version 0.8.6-beta, LibreDesk is vulnerable to stored HTML injection in the contact notes feature. When adding notes via POST /api/v1/contacts/{id}/notes, the backend automatically wraps user input in <p> tags. However, by intercepting the request and removing the <p> tag, an attacker can inject arbitrary HTML elements such as forms and images, which are then stored and rendered without proper sanitization. This can lead to phishing, CSRF-style forced actions, and UI redress attacks. This issue has been patched in version 0.8.6-beta.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
github.com/...redesk/security/advisories/GHSA-wh6m-h6f4-rjf4
github.com/...redesk/security/advisories/GHSA-wh6m-h6f4-rjf4
github.com/...ommit/270347849943ac6a43e9fd6ebdc99c71841900eb
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.