# CVE-2021-22140: 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…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-12-01)
- Published: 2021-05-13T17:35:20.000Z
- Modified: 2026-06-17T03:36:41.183Z
- Weaknesses: CWE-611
- Assigned by: elastic

## Description

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.

(As written by CVE List.)

## Affected

- Elastic Elastic App Search: after 7.11.0 and before 7.12.0
- elastic elastic_app_search: from 7.11.0 before 7.12.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://discuss.elastic.co/t/7-12-1-security-update/271433> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-22140](https://www.cve.org/CVERecord?id=CVE-2021-22140), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22140](https://nvd.nist.gov/vuln/detail/CVE-2021-22140), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22140 · Whole record: https://cve.day/CVE-2021-22140.json · Rebuilt by cve.day 2026-11-25T22:58:01.334Z
