CVE-2021-46872

MEDIUM

Nim <1.6.2 - XSS

Title source: llm
STIX 2.1

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

Scores

CVSS v3 6.1
EPSS 0.0067
EPSS Percentile 71.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
nim-lang/nim < 1.6.2
nim-lang/nimforum < 2.2.0
Published Jan 13, 2023
Tracked Since Feb 18, 2026