CVE-2022-23602 Details
Description
Nimforum is a lightweight alternative to Discourse written in Nim. In versions prior to 2.2.0 any forum user can create a new thread/post with an include referencing a file local to the host operating system. Nimforum will render the file if able. This can also be done silently by using NimForum's post "preview" endpoint. Even if NimForum is running as a non-critical user, the forum.json secrets can be stolen. Version 2.2.0 of NimForum includes patches for this vulnerability. Users are advised to upgrade as soon as is possible. There are no known workarounds for this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e | CVE | PatchThird Party Advisory |
| https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e | [email protected] | PatchThird Party Advisory |
| https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 | [email protected] | ExploitPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| nim-lang docutils | < 1.6.2 |
CPE
Remediation
| |
| nim-lang nimforum | < 2.2.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 5, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 13, 2023 | Reanalysis | [email protected] |
| Feb 4, 2022 | Initial Analysis | [email protected] |
| Feb 1, 2022 | CVE Modified | [email protected] |