GitHub Advisory Database
GHSA-mjpc-qx7h-r8c9
Elasticsearch subject to cross site scripting
Details
X-Pack Machine Learning versions before 6.2.4 and 5.6.9 had a cross-site scripting (XSS) vulnerability. If an attacker is able to inject data into an index that has a ML job running against it, then when another user views the results of the ML job it could allow the attacker to obtain sensitive information from or perform destructive actions on behalf of that other ML user.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.elasticsearch:elasticsearch | All versions before 5.6.9 (fixed in 5.6.9) |
| Maven | org.elasticsearch:elasticsearch | From 6.0.0 before 6.2.4 (fixed in 6.2.4) |