CVE-2025-6761
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA vulnerability was found in Kingdee Cloud-Starry-Sky Enterprise Edition 6.x/7.x/8.x/9.0. It has been rated as critical. Affected by this issue is the function plugin.buildMobilePopHtml of the file \k3\o2o\bos\webapp\action\DynamicForm 4 Action.class of the component Freemarker Engine. The manipulation leads to improper neutralization of special elements used in a template engine. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to upgrade the affected component. The vendor explains, that in the fixed release "Freemarker is set to 'ALLOWS_NOTHING_RESOLVER' to not parse any classes."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a Server-Side Template Injection (SSTI) vulnerability in the FreeMarker template engine used by Kingdee Cloud-Starry-Sky Enterprise Edition. The plugin.buildMobilePopHtml function in DynamicForm4Action.class fails to properly neutralize special elements, allowing remote attackers to inject malicious FreeMarker template directives and potentially execute arbitrary code.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Kingdee Cloud-Starry-Sky installationSearch for Kingdee Cloud-Starry-Sky or related Kingdee enterprise software components in your environment. Check application directories, deployment folders, or system inventory for this product.Affected if Kingdee Cloud-Starry-Sky Enterprise Edition is present in the environment
-
Determine the installed versionLocate version information for Kingdee Cloud-Starry-Sky. Check the application metadata, version file, or admin console for the exact release version.Affected if The installed version is any release prior to the fixed version that implements ALLOWS_NOTHING_RESOLVER configuration for FreeMarker
-
Locate the vulnerable class fileSearch for DynamicForm4Action.class in the deployed application files, typically found in the WEB-INF/classes or similar deployment directory structure.Affected if DynamicForm4Action.class exists and contains the plugin.buildMobilePopHtml function
-
Verify FreeMarker template resolver configurationExamine the FreeMarker configuration files or Java code that initializes the TemplateEngine. Look for the TemplateClassResolver configuration setting, specifically checking if ALLOWS_NOTHING_RESOLVER is set.Affected if FreeMarker is configured with an unrestricted resolver (not ALLOWS_NOTHING_RESOLVER), or the resolver setting is missing entirely
-
Review application logs for template injection attemptsSearch web application logs for suspicious patterns in parameters passed to DynamicForm4Action, looking for FreeMarker directive syntax like '${', '<#', '#{', or other template metacharacters.Affected if Logs show unexpected FreeMarker directive patterns in requests to functions handled by DynamicForm4Action
The environment is affected if Kingdee Cloud-Starry-Sky Enterprise Edition is installed with a version that does not configure FreeMarker with ALLOWS_NOTHING_RESOLVER, allowing arbitrary template directives to be processed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Kingdee Cloud-Starry-Sky to the fixed release that configures Freemarker with 'ALLOWS_NOTHING_RESOLVER' to disable template parsing, preventing SSTI exploitation.
Kingdee Cloud-Starry-Sky Enterprise Edition fixed release (contact vendor for specific version number - vendor states fix includes Freemarker ALLOWS_NOTHING_RESOLVER configuration)
- Contact Kingdee official support to obtain the specific fixed release version for Cloud-Starry-Sky Enterprise Edition that includes the Freemarker 'ALLOWS_NOTHING_RESOLVER' configuration fix
- Request and apply the hotfix/patch from Kingdee that implements Freemarker security settings with ALLOWS_NOTHING_RESOLVER
- After upgrade, verify that Freemarker template engine is configured with restricted class resolution (ALLOWS_NOTHING_RESOLVER)
- Test the affected DynamicForm 4 Action.class functionality to ensure legitimate operations still work post-fix
- Monitor Kingdee security advisories for any additional required updates
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-6761 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-6761 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data