CVE-2021-46872

MEDIUMCVSS 6.1/10EPSS 0.54%

Last modified

CVE-2021-46872 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.54% chance of exploitation in the next 30 days.

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.)

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
0.54%

41.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Nim-LangNim< 1.6.2
Nim-LangNimforum< 2.2.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-46872?
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.)
How severe is CVE-2021-46872?
CVE-2021-46872 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.54% probability of exploitation in the next 30 days.
How do I fix CVE-2021-46872?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-46872?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST