Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-46872 EUVD-2021-33525GHSA-6fm4-9v93-v7gg

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…

Published Jan 13, 2023 · Updated Apr 7, 2025 · Assigned by mitre

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.)

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nim 1.6.2-1 —
Debian 12 nim 1.6.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nim No fix yet —
Ubuntu 26.04 LTS nim No fix yet —
Ubuntu 25.10 nim No fix yet —
Ubuntu 24.04 LTS nim No fix yet —
Ubuntu 20.04 LTS nim No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nim No fix yet —
Ubuntu 16.04 LTS nim No fix yet —

References