CVE-2021-46872
Medium
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.)
SeverityMedium
CVSS6.1
Exploit probability—
ProductNim-lang Nimforum
PublishedJan 13, 2023
First seenJan 13, 2023
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- nim-lang nimforum2.2.0 or later
- nim-lang nim1.6.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nim-lang nimforum | v < 2.2.0 | 2.2.0 |
| nim-lang nim | v < 1.6.2 | 1.6.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.