CVE-2021-46888

medium

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.

References

https://www.youtube.com/watch?v=QnRO-VkfIic

https://github.com/simonmichael/hledger/releases/tag/1.23

https://github.com/simonmichael/hledger/pull/1663

https://github.com/simonmichael/hledger/issues/1525

Details

Source: Mitre, NVD

Published: 2023-05-21

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.01627