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

How to fix

Update
  • nim-lang nimforum2.2.0 or later
  • nim-lang nim1.6.2 or later

Affected products

ProductAffected versionsFixed in
nim-lang nimforumv < 2.2.02.2.0
nim-lang nimv < 1.6.21.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.