CVE-2022-23602
mediumpriority · track · 32EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.5–8.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743ecnnvd
- https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-23602cnnvd
- https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743eenisa_euvd
- https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75enisa_euvd
- https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743ePatchThird Party Advisorynvd
- https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75ExploitPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan