← Database

CVE-2021-46872

MEDIUM CVSS: 6.1 Published: 2023-01-13 Modified: 2026-06-17

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

Affected Platforms

Nim-Lang NimNim-Lang Nimforum

Weakness Type

CWE-79, CWE-79

References