CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Nim-lang

CVE-2021-46872
Nim-lang Nim vulnerability

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 products

Nim, Nimforum. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nim-lang Nim runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Nim-lang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.