During an application security assessment of an enterprise document ingestion pipeline, an analyst reviews crash logs and source code snippets from a C/C++ processing engine that parses uploaded XML metadata and binary graphics. The analysis reveals two distinct flaws:
1. Submitting a specially crafted payload containing `<!ENTITY xxe SYSTEM "file:///etc/passwd">` causes the engine to return confidential system files in the API response.
2. Submitting an image file with an inflated metadata length field causes the application to write incoming payload bytes past the allocated dynamic memory buffer, leading to process memory corruption and instability.
Which of the following software vulnerabilities are present in this ingestion pipeline? (Select TWO).
- XML External Entity (XXE) injection caused by parsing untrusted XML input with enabled external entity resolutionCevap
- Heap-based buffer overflow resulting from unchecked memory writes beyond allocated buffer boundaries during metadata parsingCevap
- CStored Cross-Site Scripting (XSS) resulting from executing unparameterized SQL queries against the backend database
- DBroken Object Level Authorization resulting from verifying user identity credentials without granting role permissions