vulnerability
Ubuntu: (CVE-2021-46872): nim vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:M/Au:N/C:P/I:P/A:N) | Jan 13, 2023 | Jun 26, 2025 | Aug 18, 2025 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Jan 13, 2023
Added
Jun 26, 2025
Modified
Aug 18, 2025
Description
An issue was discovered in Nim before 1.6.2. The RST module of the Nim language stdlib, as used in NimForum and other products, permits the javascript: URI scheme and thus can lead to XSS in some applications. (Nim versions 1.6.2 and later are fixed; there may be backports of the fix to some earlier versions. NimForum 2.2.0 is fixed.)
Solution
no-fix-ubuntu-package
References
- CVE-2021-46872
- https://attackerkb.com/topics/CVE-2021-46872
- CWE-79
- URL-https://forum.nim-lang.org/t/8852
- URL-https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7
- URL-https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2
- URL-https://github.com/nim-lang/Nim/pull/19134
- URL-https://github.com/nim-lang/nimforum
- URL-https://www.cve.org/CVERecord?id=CVE-2021-46872
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.