CVE-2021-46872
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/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nim-Lang | Nim | < 1.6.2 |
| Nim-Lang | Nimforum | < 2.2.0 |
References
- https://forum.nim-lang.org/t/8852Issue Tracking, Vendor Advisory
- https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7Patch, Third Party Advisory
- https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2Third Party Advisory
- https://github.com/nim-lang/Nim/pull/19134Patch, Third Party Advisory
- https://github.com/nim-lang/nimforumThird Party Advisory
- https://forum.nim-lang.org/t/8852Issue Tracking, Vendor Advisory
- https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7Patch, Third Party Advisory
- https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2Third Party Advisory
- https://github.com/nim-lang/Nim/pull/19134Patch, Third Party Advisory
- https://github.com/nim-lang/nimforumThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-46872?
How severe is CVE-2021-46872?
How do I fix CVE-2021-46872?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-46853Alpine before 2.25 allows remote attackers to cause a denial…5.9
- CVE-2021-46854mod_radius in ProFTPD before 1.3.7c allows memory disclosure…7.5
- CVE-2021-46856The multi-screen collaboration module has a path traversal v…7.5
- CVE-2021-46867The HW_KEYMASTER module has a problem in releasing memory.Su…7.5
- CVE-2021-46868The HW_KEYMASTER module has a problem in releasing memory.Su…7.5
- CVE-2021-46871tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0…6.1
- CVE-2021-46873WireGuard, such as WireGuard 0.5.3 on Windows, does not full…5.3
- CVE-2021-46875An issue was discovered in eZ Platform Ibexa Kernel before 1…6.1
- CVE-2021-46876An issue was discovered in eZ Publish Ibexa Kernel before 7.…5.3
- CVE-2021-46877jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.1…7.5
- CVE-2021-46878An issue was discovered in Treasure Data Fluent Bit 1.7.1, e…7.8
- CVE-2021-46879An issue was discovered in Treasure Data Fluent Bit 1.7.1, a…7.8
Are you affected by CVE-2021-46872?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
