VulnerabilityModified
CVE-2021-46872
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.
MEDIUM 6.1EPSS 0.54%
Does this matter?
Lower severity and a low EPSS score (0.54%). Track it; it rarely justifies an emergency change on its own.
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.)
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.54% probability · 44th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- nim-lang/nim · nim-lang/nimforum
- Source
- cve@mitre.org
References
- https://forum.nim-lang.org/t/8852Issue Tracking, Vendor Advisory
- https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7Patch, Third Party Advisory
- https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2Third Party Advisory
- https://github.com/nim-lang/Nim/pull/19134Patch, Third Party Advisory
- https://github.com/nim-lang/nimforumThird Party Advisory
- https://forum.nim-lang.org/t/8852Issue Tracking, Vendor Advisory
- https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7Patch, Third Party Advisory
- https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2Third Party Advisory
- https://github.com/nim-lang/Nim/pull/19134Patch, Third Party Advisory
- https://github.com/nim-lang/nimforumThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.