sunkaifei FlyCMS CVE-2025-15094
LOWSeverity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in sunkaifei FlyCMS up to abbaa5a8daefb146ad4d61027035026b052cb414. The impacted element is the function userLogin of the file src/main/java/com/flycms/web/front/UserController.java of the component User Login. Executing a manipulation of the argument redirectUrl can lead to cross site scripting. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The project was informed of the problem early through an issue report but has not responded yet.
AnalysisAI
Reflected cross-site scripting (XSS) in sunkaifei FlyCMS userLogin function allows unauthenticated remote attackers to inject malicious scripts via the redirectUrl parameter, requiring user interaction to trigger. The vulnerability is publicly available for exploitation with a low CVSS score of 2.1 reflecting limited integrity impact, but active public PoC code exists and the affected project has not responded to disclosure.
Technical ContextAI
FlyCMS is a Java-based content management system where the UserController class handles user authentication. The vulnerability stems from improper input validation in the userLogin method of src/main/java/com/flycms/web/front/UserController.java when processing the redirectUrl parameter. The redirectUrl value is likely passed directly to a response header or HTML context without sanitization, allowing attackers to break out of the intended context and inject arbitrary JavaScript. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as failure to encode user-supplied data before rendering in a web response. The CPE cpe:2.3:a:sunkaifei:flycms:*:*:*:*:*:*:*:* indicates all versions of FlyCMS are affected since the project does not maintain semantic versioning, and the git commit hash abbaa5a8daefb146ad4d61027035026b052cb414 represents the latest known vulnerable state.
RemediationAI
No vendor-released patch identified at time of analysis. The FlyCMS project was informed early via GitHub issue #16 (https://github.com/sunkaifei/FlyCms/issues/16) but has not responded or released a fix. Immediate mitigation requires implementing output encoding for the redirectUrl parameter in UserController.java userLogin method using a Java encoding library such as OWASP Encoder or Apache Commons Text to escape HTML special characters before rendering in HTTP responses or HTML attributes. Deploy a Web Application Firewall (WAF) rule to block requests containing script tags or event handler patterns in the redirectUrl parameter. As a compensating control, restrict the redirectUrl parameter to a whitelist of known safe domains to prevent open redirect combined with XSS. Enforce Content Security Policy (CSP) headers with script-src 'self' to limit inline script execution, which will degrade but not eliminate reflected XSS impact. Monitor for exploitation via access logs containing suspicious characters (%, script, onerror, onload) in the redirectUrl parameter. Consider forking the project or migrating to an actively maintained CMS if security updates are critical for your deployment.
More from same product – last 7 days
Local denial of service in Android's PackageInstaller subsystem stems from a logic error in PackageInstallerSession.tran
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
NoSQL/query injection in Spring AI Vector Stores (1.0.0-1.0.8 and 1.1.0-1.1.7) allows remote unauthenticated attackers t
Origin validation failure in Spring Cloud Gateway (WebMVC and WebFlux Server variants) allows remote attackers to spoof
Server-Side Request Forgery in Spring Web Services (versions 3.1.0-3.1.8, 4.0.0-4.0.18, 4.1.0-4.1.3, and 5.0.0-5.0.1) al
Share
External POC / Exploit Code
Leaving vuln.today