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.)
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nim | 1.6.2-1 | — |
| Debian 12 | nim | 1.6.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nim | No fix yet | — |
| Ubuntu 26.04 LTS | nim | No fix yet | — |
| Ubuntu 25.10 | nim | No fix yet | — |
| Ubuntu 24.04 LTS | nim | No fix yet | — |
| Ubuntu 20.04 LTS | nim | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | nim | No fix yet | — |
| Ubuntu 16.04 LTS | nim | No fix yet | — |