CVEvulnerability
CVE-2021-46888
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-05-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
An issue was discovered in hledger before 1.23. A Stored Cross-Site Scripting (XSS) vulnerability exists in toBloodhoundJson that allows an attacker to execute JavaScript by encoding user-controlled values in a payload with base64 and parsing them with the atob function.
Affected configurations
• hledger hledger (< 1.23)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/simonmichael/hledger/issues/1525 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/simonmichael/hledger/pull/1663 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/simonmichael/hledger/releases/tag/1.23 Release Notes
- https://www.youtube.com/watch?v=QnRO-VkfIic Exploit, Third Party Advisory
- https://github.com/simonmichael/hledger/issues/1525 Exploit, Issue Tracking, Vendor Advisory
- https://github.com/simonmichael/hledger/pull/1663 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/simonmichael/hledger/releases/tag/1.23 Release Notes
- https://www.youtube.com/watch?v=QnRO-VkfIic Exploit, Third Party Advisory