CVE-2022-0341
MEDIUM 5.4CVSS 3.1Cross-site Scripting in vditor
Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 3.8.12.
- Published
- 14 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-pq37-4c4g-v38c
- Sources
- NVDJSONOSV GHSA-pq37-4c4g-v38cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.6 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | b3log | vditorcpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:* |
< 3.8.12 | 3.8.12 |
| OSV | npm | vditor | < 3.8.11 | 3.8.11 |
References
- https://github.com/vanessa219/vditor/commit/219f8a9e272aba3cbc0096a82cac776532dbb9e5 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/fa546b57-bc15-4705-824e-9474b616f628 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0341 · ADVISORY
- https://github.com/Vanessa219/vditor/issues/1102 · WEB
- https://github.com/vanessa219/vditor · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Mar 2022)