CVE-2025-1084 Overview
CVE-2025-1084 is a Cross-Site Request Forgery (CSRF) vulnerability affecting Mindskip xzs-mysql 学之思开源考试系统 version 3.9.0. The flaw resides in multiple endpoints of the open-source examination system and can be triggered remotely with user interaction. Public disclosure includes technical details on GitHub, and the vendor did not respond to disclosure attempts. The weakness maps to [CWE-352] Cross-Site Request Forgery. No exploitation has been observed in the wild, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Critical Impact
An attacker can trick an authenticated user into submitting unintended state-changing requests to the xzs-mysql application, resulting in unauthorized actions performed with the victim's privileges.
Affected Products
- Mindskip xzs-mysql 学之思开源考试系统 3.9.0
- Multiple unspecified endpoints within the application
- Deployments exposing the web interface to untrusted networks
Discovery Timeline
- 2025-02-07 - CVE-2025-1084 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-1084
Vulnerability Analysis
The vulnerability stems from missing anti-CSRF protections across multiple state-changing endpoints in xzs-mysql 3.9.0. The application does not validate the origin of authenticated HTTP requests using tokens, custom headers, or SameSite cookie enforcement. An attacker who lures an authenticated user to a malicious page can cause the browser to submit forged requests carrying the victim's session cookies. Because the server treats these requests as legitimate, actions execute with the victim's authorization context. The public research writeup documents multiple affected endpoints, expanding the potential impact across administrative and user-facing functions.
Root Cause
The root cause is the absence of request origin verification. The application relies solely on ambient authority provided by session cookies. It does not implement synchronizer tokens, double-submit cookies, or verify the Origin and Referer headers on sensitive state-changing routes.
Attack Vector
Exploitation requires an authenticated victim to visit an attacker-controlled page or click a crafted link. The malicious page issues an HTML form submission or fetch request targeting a vulnerable xzs-mysql endpoint. The browser automatically attaches session cookies, and the server processes the forged request. The attack is network-based, requires user interaction, and does not require attacker credentials. Public details are available in the GitHub Vulnerability Research Document.
No verified proof-of-concept code is published beyond the research writeup. Refer to the VulDB entry #294860 for additional technical context.
Detection Methods for CVE-2025-1084
Indicators of Compromise
- HTTP requests to xzs-mysql state-changing endpoints with Referer or Origin headers pointing to external, unexpected domains.
- Unusual administrative or account modifications performed shortly after a user browsed external content.
- Repeated cross-origin POST requests to sensitive routes with valid session cookies.
Detection Strategies
- Enable verbose web server logging and inspect Referer and Origin headers on all authenticated POST, PUT, and DELETE requests.
- Deploy a web application firewall (WAF) rule set that flags cross-origin requests to xzs-mysql endpoints.
- Correlate authentication session activity with unexpected configuration or data changes to identify forged transactions.
Monitoring Recommendations
- Alert on state-changing requests where the Origin header does not match the application's canonical host.
- Monitor administrative account activity for changes that occur without corresponding legitimate user workflow steps.
- Retain HTTP access logs for forensic review, including full header captures, for at least 90 days.
How to Mitigate CVE-2025-1084
Immediate Actions Required
- Restrict access to the xzs-mysql administrative interface to trusted network segments or via VPN.
- Instruct administrators to log out of xzs-mysql before browsing untrusted sites and to use dedicated browser profiles for administrative sessions.
- Deploy a reverse proxy or WAF that enforces strict Origin and Referer header validation on state-changing routes.
Patch Information
At the time of publication, the vendor has not responded to disclosure and no official patch is available. Organizations should track the VulDB advisory and the upstream Mindskip project repository for future updates.
Workarounds
- Configure session cookies with SameSite=Strict or SameSite=Lax at the reverse proxy layer to block cross-site cookie transmission.
- Implement anti-CSRF tokens via an application gateway or middleware for state-changing endpoints.
- Add Content Security Policy (CSP) frame-ancestors 'none' to prevent embedding the application in attacker-controlled frames.
- Segment the application to internal networks only, removing internet exposure until a fix is released.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

