Skip to content

Instantly share code, notes, and snippets.

@Cristliu
Created December 18, 2025 07:27
Show Gist options
  • Select an option

  • Save Cristliu/5ded6d03e41d7d66ecb1b568bae3ff6c to your computer and use it in GitHub Desktop.

Select an option

Save Cristliu/5ded6d03e41d7d66ecb1b568bae3ff6c to your computer and use it in GitHub Desktop.
CVE-2025-63388 Security Advisory - CORS Misconfiguration in Dify System Features

Security Advisory: CVE-2025-63388 - CORS Misconfiguration in Dify System Features Endpoint

CVE ID: CVE-2025-63388 Date: 2025-12-18 Vendor: LangGenius (Dify) Product: Dify Affected Versions: v1.9.1 Vulnerability Type: Insecure Permissions / CORS Misconfiguration Severity: Medium (Information Disclosure)

Summary

A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/system-features endpoint. The endpoint implements an overly permissive CORS policy that reflects arbitrary Origin headers and sets Access-Control-Allow-Credentials: true, allowing any external domain to make authenticated cross-origin requests.

Vulnerability Details

  • Component: /console/api/system-features API endpoint, Dify console application
  • Vulnerability: Insecure CORS configuration allowing arbitrary origins with credentials.

Attack Vector & Impact

Attack Type: Remote

Attack Vectors: An attacker can craft a malicious website that makes cross-origin requests to the vulnerable endpoint. When an authenticated user visits the attacker's website, the malicious page can retrieve sensitive system configuration information due to misconfigured CORS policy that allows access from arbitrary origins with credentials.

Impact:

  • Information Disclosure: Attackers can retrieve sensitive system configuration information.

References

Credits

Discovered and reported by Zhihuang Liu (herecristliu@gmail.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment