CVE-2021-46872

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
13/01/2023
Last modified:
07/04/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.)

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* 1.6.2 (excluding)
cpe:2.3:a:nim-lang:nimforum:*:*:*:*:*:nim:*:* 2.2.0 (excluding)