CVE-2025-70849: Github.com/stefanprodan/podinfo Cross-Site Scripting Vulnerability
LOWCVE-2025-70849 is a LOW (CVSS 6.1) cross-site scripting vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Github.com/stefanprodan/podinfo libraries in the Go ecosystem. The issue involves podinfo affected by arbitrary file upload that leads to stored cross-site scripting (xss). Remediation is available by upgrading affected packages to version 1.8.1-0.20260314125853-83deb7fcb742.
CVE-2025-70849 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-70849
To remediate this vulnerability, upgrade all affected Github.com/stefanprodan/podinfo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/stefanprodan/podinfo to 1.8.1-0.20260314125853-83deb7fcb742
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/stefanprodan/podinfo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-70849, inspect your project dependencies for Github.com/stefanprodan/podinfo:
inspect dependencies for github.com/stefanprodan/podinfo
Analyze the terminal output to locate any version of Github.com/stefanprodan/podinfo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.1-0.20260314125853-83deb7fcb742), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Github.com/stefanprodan/podinfo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-70849 Affected Github.com/stefanprodan/podinfo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/stefanprodan/podinfo
|
Go |
< 1.8.1-0.20260314125853-83deb7fcb742
|
1.8.1-0.20260314125853-83deb7fcb742
|
References
Frequently Asked Questions
What is CVE-2025-70849?
Which Github.com/stefanprodan/podinfo versions are affected?
What version fixes CVE-2025-70849?
Is github.com/stefanprodan/podinfo affected?
What is the CVSS score of CVE-2025-70849?
What CWE is associated with CVE-2025-70849?
How can I check Go dependencies for CVE-2025-70849?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mw8w-q3f7-2v85",
"modified" : "2026-03-16T12:26:05Z",
"published" : "2026-02-03T18:30:47Z",
"aliases" : [ "CVE-2025-70849" ],
"summary" : "Podinfo affected by Arbitrary File Upload that leads to Stored Cross-Site Scripting (XSS)",
"details" : "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).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/stefanprodan/podinfo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.1-0.20260314125853-83deb7fcb742"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.8.1-0.20250515093358-fb3b01be30a3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-70849"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/pull/463"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/commit/83deb7fcb7421f2d01eeb7475b18d72f16084aed"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/kazisabu/27f3e272f474005001a9ecd2c258dbea"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/stefanprodan/podinfo"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/releases/tag/6.11.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434", "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-03T21:12:09Z",
"nvd_published_at" : "2026-02-03T18:16:18Z"
}
}