Security mailing lists by PureSourceCode

CVE-2021-46888

MEDIUM 5.4CVSS 3.1

Stored XSS in hledger-web

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.

Published
21 May 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
HSEC-2023-0008
Sources
NVDJSONOSV HSEC-2023-0008JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV HSEC CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hledger hledger
cpe:2.3:a:hledger:hledger:*:*:*:*:*:*:*:*
< 1.23 1.23
OSV Hackage hledger-web >= 0.24, < 1.23 1.23

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 May 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.