{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-46872","published":"2023-01-13T06:15:10.940000Z","last_modified":"2026-06-17T04:15:41.963000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*","part":"a","vendor":"nim-lang","product":"nim","version_end_excluding":"1.6.2"},{"criteria":"cpe:2.3:a:nim-lang:nimforum:*:*:*:*:*:nim:*:*","part":"a","vendor":"nim-lang","product":"nimforum","version_end_excluding":"2.2.0"}],"cpes_truncated":false,"vendors":["nim-lang"],"products":["nim-lang/nim","nim-lang/nimforum"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00583,"percentile":0.41882,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-46872/","html_en":"/en/cve/CVE-2021-46872/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-46872","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-46872"},"untrusted":{"vendor_name":"Nim-lang","product_name":"Nim","desc_en":"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":[],"references":[{"url":"https://forum.nim-lang.org/t/8852","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2","tags":["Third Party Advisory"]},{"url":"https://github.com/nim-lang/Nim/pull/19134","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/nim-lang/nimforum","tags":["Third Party Advisory"]}]}}