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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:hledger:hledger:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.23"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "1.23",
"range": [
{
"fixed": "47b5b6be0d3f3fd42cf58508e28521d46b5bbb64"
}
],
"source": "REFERENCES_TAG"
}
]
}