Bug 1211632 (CVE-2021-46888)

Summary: VUL-0: CVE-2021-46888: hledger: Stored Cross-Site Scripting (XSS) vulnerability
Product: [Novell Products] SUSE Security Incidents Reporter: Cathy Hu <cathy.hu>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/367081/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cathy Hu 2023-05-23 07:42:03 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-46888
https://bugzilla.redhat.com/show_bug.cgi?id=2208950
https://www.cve.org/CVERecord?id=CVE-2021-46888
http://www.cvedetails.com/cve/CVE-2021-46888/
https://github.com/simonmichael/hledger/issues/1525
https://github.com/simonmichael/hledger/pull/1663
https://github.com/simonmichael/hledger/releases/tag/1.23
https://www.youtube.com/watch?v=QnRO-VkfIic
Comment 1 Cathy Hu 2023-05-23 07:42:18 UTC
not affected, closing