Live threats

All CVEs / Hledger

CVE-2021-46888Hledger

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
May 21, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hledger.

Affected products (CPE)

VendorProductVersions
hledgerhledger< 1.23

Official sources

References

Links published by the sources. Open them with care.