XSS in Hledger
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.008, 56.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/simonmichael/hledger/issues/1525 (Exploit, Issue Tracking, Vendor Advisory)
- github.com/simonmichael/hledger/pull/1663 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/simonmichael/hledger/releases/tag/1.23 (Release Notes)
- www.youtube.com/watch (Exploit, Third Party Advisory)