CVE-2021-46888

Public Exploit

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.

Category

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 1.39% Top 25%
Vendor Advisory github.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://github.com/simonmichael/hledger/issues/1525 vendor advisory issue tracking exploit
https://github.com/simonmichael/hledger/pull/1663 patch exploit third party advisory issue tracking
https://github.com/simonmichael/hledger/releases/tag/1.23 release notes
https://www.youtube.com/watch?v=QnRO-VkfIic third party advisory exploit

Frequently Asked Questions

What is the severity of CVE-2021-46888?
CVE-2021-46888 has been scored as a medium severity vulnerability.
How to fix CVE-2021-46888?
To fix CVE-2021-46888, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-46888 being actively exploited in the wild?
It is possible that CVE-2021-46888 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.