{"id":"CVE-2021-46888","state":"PUBLISHED","title":"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 encodi","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.","publishedAt":"2023-05-21T00:00:00.000Z","updatedAt":"2025-01-21T16:56:19.679Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:16.371Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/46xxx/CVE-2021-46888.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-46888","state":"PUBLISHED","datePublished":"2023-05-21T00:00:00.000Z","dateUpdated":"2025-01-21T16:56:19.679Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-05-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/simonmichael/hledger/issues/1525"},{"url":"https://github.com/simonmichael/hledger/pull/1663"},{"url":"https://github.com/simonmichael/hledger/releases/tag/1.23"},{"url":"https://www.youtube.com/watch?v=QnRO-VkfIic"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-05-21T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/simonmichael/hledger/issues/1525","tags":["x_transferred"]},{"url":"https://github.com/simonmichael/hledger/pull/1663","tags":["x_transferred"]},{"url":"https://github.com/simonmichael/hledger/releases/tag/1.23","tags":["x_transferred"]},{"url":"https://www.youtube.com/watch?v=QnRO-VkfIic","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:17:42.968Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-21T16:55:30.047231Z","id":"CVE-2021-46888","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-21T16:56:19.679Z"}}]}}}