CVE-2021-46888

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.
References
Link Resource
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:hledger:hledger:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:34

Type Values Removed Values Added
References () https://github.com/simonmichael/hledger/issues/1525 - Exploit, Issue Tracking, Vendor Advisory () https://github.com/simonmichael/hledger/issues/1525 - Exploit, Issue Tracking, Vendor Advisory
References () https://github.com/simonmichael/hledger/pull/1663 - Exploit, Issue Tracking, Patch, Third Party Advisory () https://github.com/simonmichael/hledger/pull/1663 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://github.com/simonmichael/hledger/releases/tag/1.23 - Release Notes () https://github.com/simonmichael/hledger/releases/tag/1.23 - Release Notes
References () https://www.youtube.com/watch?v=QnRO-VkfIic - Exploit, Third Party Advisory () https://www.youtube.com/watch?v=QnRO-VkfIic - Exploit, Third Party Advisory

26 May 2023, 18:58

Type Values Removed Values Added
CWE CWE-79
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
CPE cpe:2.3:a:hledger:hledger:*:*:*:*:*:*:*:*
References (MISC) https://github.com/simonmichael/hledger/issues/1525 - (MISC) https://github.com/simonmichael/hledger/issues/1525 - Exploit, Issue Tracking, Vendor Advisory
References (MISC) https://github.com/simonmichael/hledger/pull/1663 - (MISC) https://github.com/simonmichael/hledger/pull/1663 - Exploit, Issue Tracking, Patch, Third Party Advisory
References (MISC) https://www.youtube.com/watch?v=QnRO-VkfIic - (MISC) https://www.youtube.com/watch?v=QnRO-VkfIic - Exploit, Third Party Advisory
References (MISC) https://github.com/simonmichael/hledger/releases/tag/1.23 - (MISC) https://github.com/simonmichael/hledger/releases/tag/1.23 - Release Notes

21 May 2023, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-05-21 20:15

Updated : 2024-11-21 06:34


NVD link : CVE-2021-46888

Mitre link : CVE-2021-46888

CVE.ORG link : CVE-2021-46888


JSON object : View

Products Affected

hledger

  • hledger
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')