CVE-2018-8024
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark via crafted URL
CVE-2018-8024 is a medium vulnerability (CVSS 5.4) in Apache Spark, published July 12, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.29%, the 92nd percentile. Fixed in org.apache.spark:spark-core_2.10 2.1.3.
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.4
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
CVE-2018-8024- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.9 Medium
AV:N/AC:M/Au:S/C:P/I:P/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
CVE-2018-8024- Updated
- 2026-11-02
EUVDEUVD-2019-0376 No score
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
EUVD-2019-0376- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8cw6-5qvp-q3wj
5.4
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark via crafted URL
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
GHSA-8cw6-5qvp-q3wj- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSV
5.4
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
CVE-2018-8024- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-8cw6-5qvp-q3wj
5.4
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark via crafted URL
In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.
- Record
GHSA-8cw6-5qvp-q3wj- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.spark:spark-core_2.10Maven |
2.1.0 up to 2.1.3 | 2.1.3 |
org.apache.spark:spark-core_2.10Maven |
2.2.0 up to 2.2.2 | 2.2.2 |
org.apache.spark:spark-core_2.11Maven |
2.1.0 up to 2.1.3 | 2.1.3 |
org.apache.spark:spark-core_2.11Maven |
2.2.0 up to 2.2.2 | 2.2.2 |
org.apache.spark:spark-core_2.11Maven |
2.3.0 to 2.3.0 | 2.3.1 |
org.apache.spark:spark-core_2.10Maven |
2.1.0 up to 2.1.3, plus listed versions 2.1.12.1.2 |
2.1.3 |
org.apache.spark:spark-core_2.10Maven |
2.2.0 up to 2.2.2, plus listed versions 2.2.1 |
2.2.2 |
org.apache.spark:spark-core_2.11Maven |
2.1.0 up to 2.1.3, plus listed versions 2.1.12.1.2 |
2.1.3 |
org.apache.spark:spark-core_2.11Maven |
2.2.0 up to 2.2.2, plus listed versions 2.2.1 |
2.2.2 |
org.apache.spark:spark-core_2.11Maven |
2.3.0 up to 2.3.1 | 2.3.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | Apache Spark UI - Cross-Site Scripting |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
References
spark.apache.org/security.html
lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba%40%3Cdev.spark.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2018-8024
github.com/advisories/GHSA-8cw6-5qvp-q3wj
lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba@%3Cdev.spark.apache.org%3E