Cookie theft via unescaped login redirect
Published May 17, 2024 · Updated Feb 13, 2025
Reflected XSS in YzmCMS 7.1 allows remote attackers to capture a logged-in user's cookies through a crafted login URL. The login flow copies the referer parameter into $gourl, and message.tpl inserts that value into a meta tag without complete HTML escaping. A victim must be logged in and open the malicious link; injected browser script can read cookies available to client-side code.
Summary
What happened
Reflected XSS in YzmCMS 7.1 allows remote attackers to capture a logged-in user's cookies through a crafted login URL. The login flow copies the referer parameter into $gourl, and message.tpl inserts that value into a meta tag without complete HTML escaping. A victim must be logged in and open the malicious link; injected browser script can read cookies available to client-side code.
The record
- CVE
- CVE-2024-35110
- Published
- May 17, 2024
- Updated
- Feb 13, 2025
- Vendor
- Yuan Zhimeng Studio
- Product
- YzmCMS
- Classifications
- CWE-79, T1539, T1204.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=7.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- YzmCMS 7.1 reflected XSS proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo