CVE-2024-31868: Apache Zeppelin vulnerable to cross-site scripting in the helium module
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73865%
CWE
Published
4/9/2024
Updated
10/3/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.apache.zeppelin:zeppelin-interpreter | maven | >= 0.8.2, < 0.11.1 | 0.11.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing output encoding when processing helium.json data. The patch introduces HTML escaping via preventXss() and makes the constructor private. The original fromJson() method (CVE entry point) and public constructor were vulnerable because they allowed unescaped user-controlled data (from helium.json) to flow into the UI without sanitization. The commit adds escaping to all text fields and resources array, confirming these were the injection points.