CVE-2025-56236: FormCMS Cross-Site Scripting Vulnerability
MODERATECVE-2025-56236 is a MODERATE cross-site scripting vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting FormCMS libraries in the NuGet ecosystem. The issue involves formcms avatar upload feature has a stored cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 0.5.7.
CVE-2025-56236 at a Glance
How to Fix CVE-2025-56236
To remediate this vulnerability, upgrade all affected FormCMS 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 FormCMS to 0.5.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for FormCMS
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-56236, inspect your project dependencies for FormCMS:
inspect dependencies for FormCMS
Analyze the terminal output to locate any version of FormCMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.7), 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 FormCMS, 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-56236 Affected FormCMS Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
FormCMS
|
NuGet |
< 0.5.7
|
0.5.7
|
References
Frequently Asked Questions
What is CVE-2025-56236?
Which FormCMS versions are affected?
What version fixes CVE-2025-56236?
Is FormCMS affected?
What CWE is associated with CVE-2025-56236?
How can I check NuGet dependencies for CVE-2025-56236?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4fxf-xgrm-8fcj",
"modified" : "2025-08-28T16:47:04Z",
"published" : "2025-08-28T15:30:42Z",
"aliases" : [ "CVE-2025-56236" ],
"summary" : "FormCms avatar upload feature has a stored cross-site scripting (XSS) vulnerability",
"details" : "FormCms v0.5.5 contains a stored cross-site scripting (XSS) vulnerability in the avatar upload feature. Authenticated users can upload .html files containing malicious JavaScript, which are accessible via a public URL. When a privileged user accesses the file, the script executes in their browser context.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "FormCMS"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-56236"
}, {
"type" : "WEB",
"url" : "https://github.com/FormCms/FormCms/issues/27"
}, {
"type" : "WEB",
"url" : "https://github.com/KKC73/me/blob/main/CVE-2025-56236/README.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/formcms/formcms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-28T16:47:04Z",
"nvd_published_at" : "2025-08-28T15:16:02Z"
}
}