CVE-2025-70849
Unknown Unknown - Not Provided
Arbitrary File Upload and Stored XSS in podinfo

Publication date: 2026-02-03

Last updated on: 2026-02-11

Assigner: MITRE

Description
Arbitrary File Upload in podinfo thru 6.9.0 allows unauthenticated attackers to upload arbitrary files via crafted POST request to the /store endpoint. The application renders uploaded content without a restrictive Content-Security-Policy (CSP) or adequate Content-Type validation, leading to Stored Cross-Site Scripting (XSS).
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-03
Last Modified
2026-02-11
Generated
2026-05-27
AI Q&A
2026-02-03
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
stefanprodan podinfo to 6.9.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows unauthenticated attackers to upload and execute arbitrary scripts within the podinfo application context, potentially leading to phishing attacks or credential theft. Such security weaknesses can result in unauthorized access to sensitive data or systems.

While the provided information does not explicitly mention compliance with standards like GDPR or HIPAA, the presence of Stored Cross-Site Scripting (XSS) and arbitrary file upload vulnerabilities can undermine data protection and security requirements mandated by these regulations.

Organizations using podinfo in environments subject to these regulations should consider this vulnerability a risk to compliance, as it may facilitate data breaches or unauthorized data exposure.


Can you explain this vulnerability to me?

CVE-2025-70849 is a Stored Cross-Site Scripting (XSS) vulnerability in the podinfo web application, specifically affecting the /store endpoint.

It allows unauthenticated attackers to upload arbitrary files, including malicious HTML and JavaScript, via crafted POST requests to the /store endpoint.

The application then renders this uploaded content without proper sanitization or security headers like Content-Security-Policy (CSP) or adequate Content-Type validation.

As a result, attackers can inject malicious scripts that execute in the context of the podinfo domain when a victim accesses the stored content URL.

The vulnerability involves CWE-434 (Unrestricted Upload of File with Dangerous Type) and CWE-79 (Stored XSS).


How can this vulnerability impact me? :

[{'type': 'paragraph', 'content': 'This vulnerability can have significant real-world impacts, especially if podinfo is deployed on sensitive or high-trust domains.'}, {'type': 'list_item', 'content': 'Attackers can host phishing pages within the podinfo domain.'}, {'type': 'list_item', 'content': 'Malicious scripts can steal administrative credentials from cluster operators.'}, {'type': 'list_item', 'content': "It enables execution of arbitrary JavaScript in the victim's browser, potentially leading to session hijacking or other attacks."}] [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by attempting to upload a crafted POST request containing malicious HTML or JavaScript payloads to the /store endpoint of the podinfo application and then checking if the uploaded content is served back without proper sanitization or security headers.'}, {'type': 'paragraph', 'content': 'A practical detection method involves using curl to send a POST request with a script payload and then accessing the returned URL to see if the script executes.'}, {'type': 'paragraph', 'content': 'Example command to test the vulnerability:'}, {'type': 'list_item', 'content': "curl -X POST http://<podinfo-host>/store -d '<script>alert(document.domain)</script>' -H 'Content-Type: text/html'"}, {'type': 'paragraph', 'content': 'After receiving the JSON response containing a hash identifier, access the URL http://<podinfo-host>/store/{hash} in a browser to verify if the script executes, indicating the presence of the vulnerability.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include disabling the storage feature of the podinfo application if it is not required.

Additionally, implement strict Content-Security-Policy (CSP) headers to restrict the execution of malicious scripts.

Enforce safe Content-Type headers such as text/plain or application/octet-stream for all data served from the /store endpoint to prevent execution of uploaded malicious scripts.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart