{ "id": "CVE-2021-46872", "sourceIdentifier": "cve@mitre.org", "published": "2023-01-13T06:15:10.940", "lastModified": "2023-01-23T20:19:06.777", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 2.7 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.6.2", "matchCriteriaId": "1693ADAF-84A1-4F3D-8C13-C6495A1D91D5" }, { "vulnerable": true, "criteria": "cpe:2.3:a:nim-lang:nimforum:*:*:*:*:*:nim:*:*", "versionEndExcluding": "2.2.0", "matchCriteriaId": "FE0421BD-56F6-4822-B2F4-B7B31071BC57" } ] } ] } ], "references": [ { "url": "https://forum.nim-lang.org/t/8852", "source": "cve@mitre.org", "tags": [ "Issue Tracking", "Vendor Advisory" ] }, { "url": "https://github.com/nim-lang/Nim/commit/46275126b89218e64844eee169e8ced05dd0e2d7", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/nim-lang/Nim/compare/v1.6.0...v1.6.2", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://github.com/nim-lang/Nim/pull/19134", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/nim-lang/nimforum", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] } ] }