Cross-site Scripting (XSS) Affecting nim package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN10-NIM-3231711
- published 17 Jan 2023
- disclosed 13 Jan 2023
Introduced: 13 Jan 2023
CVE-2021-46872 Open this link in a new tabHow to fix?
There is no fixed version for Debian:10
nim
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nim
package and not the nim
package as distributed by Debian
.
See How to fix?
for Debian:10
relevant fixed versions and status.
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.)
References
- https://security-tracker.debian.org/tracker/CVE-2021-46872
- https://forum.nim-lang.org/t/8852
- https://github.com/nim-lang/Nim/pull/19134
- https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2
- https://github.com/nim-lang/nimforum
- https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7