CVE-2021-22140 json
Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawl…
published 2021-05-13 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-9291
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
Elastic App Search versions after 7.11.0 and before 7.12.0 contain an XML External Entity Injection issue (XXE) in the App Search web crawler beta feature. Using this vector, an attacker whose website is being crawled by App Search could craft a malicious sitemap.xml to traverse the filesystem of the host running the instance and obtain sensitive files.
Patch / fix
- elastic elastic_app_search 7.12.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-22140 updated cvss 9.3
Search: App Search XML External Entity Injection
-
Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Decision Manager 7 elasticsearch Red Hat Fuse 7 elasticsearch Red Hat Integration Camel K 1 elasticsearch Red Hat JBoss Data Grid 6 elasticsearchnot affected: vulnerable code not present
+7 more productsfewer
Red Hat JBoss Fuse 6 elasticsearch Red Hat JBoss Fuse Service Works 6 elasticsearch Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-metering-presto, openshift4/ose-logging-elasticsearch5, openshift4/ose-logging-elasticsearch6 Red Hat OpenStack Platform 10 (Newton) python-elasticsearch Red Hat Process Automation 7 elasticsearch Red Hat Quay 3 python-elasticsearch
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected products
- Elastic Elastic App Search
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
discuss.elastic.co
/t/7-12-1-security-update/271433
vendor-advisory
Sources
- CVE List CVE-2021-22140
- NVD CVE-2021-22140
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.