CVE-2021-46872
JSON

6.1medium

An issue was discovered in Nim before 1.6.2.

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.58% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
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.)

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
nim-lang nimbefore 1.6.2NVD
nim-lang nimforumbefore 2.2.0NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

Se descubrió un problema en Nim antes de la versión 1.6.2. El módulo RST del lenguaje Nim stdlib, tal como se usa en NimForum y otros productos, permite el esquema javascript: URI y, por lo tanto, puede conducir a XSS en algunas aplicaciones. (Las versiones 1.6.2 y posteriores de Nim están corregidas; puede haber versiones anteriores de la solución para algunas versiones anteriores. NimForum 2.2.0 está corregida).

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46872 changed 2025-04-07CVE Terms of Use
NVDCVE-2021-46872 changed 2026-06-17Public domain