{"id":"CVE-2021-46872","published":"2023-01-13T00:00:00Z","modified":"2025-04-07T19:13:15Z","title":"An issue was discovered in Nim before 1.6.2","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00583,"percentile":0.48795,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nim-lang/nimforum","tags":[]},{"url":"https://forum.nim-lang.org/t/8852","tags":[]},{"url":"https://github.com/nim-lang/Nim/pull/19134","tags":[]},{"url":"https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2","tags":[]},{"url":"https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.76},{"name":"CVSS severity","points":4.27}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-07T19:12:45.568123Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33525","exploited":false,"provenance":"source"}}