CWE-791Weakness · CWE-791

CVE-2025-6761

HIGH · 7.3 CVSS v3.1 Published 2025-06-27
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
82/100
Remediation priority · High
Remotely reachable No privileges Zero-click

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 · unedited
A 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 confidence

This 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.

MitigationUpgrade Kingdee Cloud-Starry-Sky to the fixed release that configures Freemarker with 'ALLOWS_NOTHING_RESOLVER' to disable template parsing, preventing SSTI exploitation.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify Kingdee Cloud-Starry-Sky installation
    Search 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
  2. Determine the installed version
    Locate 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
  3. Locate the vulnerable class file
    Search 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
  4. Verify FreeMarker template resolver configuration
    Examine 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
  5. Review application logs for template injection attempts
    Search 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade Kingdee Cloud-Starry-Sky to the fixed release that configures Freemarker with 'ALLOWS_NOTHING_RESOLVER' to disable template parsing, preventing SSTI exploitation.

Recommended fix Moderate confidence

Kingdee Cloud-Starry-Sky Enterprise Edition fixed release (contact vendor for specific version number - vendor states fix includes Freemarker ALLOWS_NOTHING_RESOLVER configuration)

  1. 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
  2. Request and apply the hotfix/patch from Kingdee that implements Freemarker security settings with ALLOWS_NOTHING_RESOLVER
  3. After upgrade, verify that Freemarker template engine is configured with restricted class resolution (ALLOWS_NOTHING_RESOLVER)
  4. Test the affected DynamicForm 4 Action.class functionality to ensure legitimate operations still work post-fix
  5. Monitor Kingdee security advisories for any additional required updates
Caveat Minimal - the fix restricts Freemarker class parsing which may affect any custom templates using class resolution; test custom templates after upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA3.0 h
21.0 hours of engineering $3,680
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-6761 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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