Session takeover via unencoded Username reflection
Published Jan 26, 2025 · Updated Apr 16, 2025
Reflected cross-site scripting in needyamin Image Gallery 1.0 allows remote attackers to execute JavaScript through the Username parameter. The view.php endpoint places the supplied Username value in gallery-name output without filtering or contextual encoding. Exploitation requires a victim to follow a crafted URL; the resulting script runs in that victim's browser context and can read an unprotected session cookie for session takeover.
Summary
What happened
Reflected cross-site scripting in needyamin Image Gallery 1.0 allows remote attackers to execute JavaScript through the Username parameter. The view.php endpoint places the supplied Username value in gallery-name output without filtering or contextual encoding. Exploitation requires a victim to follow a crafted URL; the resulting script runs in that victim's browser context and can read an unprotected session cookie for session takeover.
The record
- CVE
- CVE-2025-0721
- Published
- Jan 26, 2025
- Updated
- Apr 16, 2025
- Vendor
- needyamin
- Product
- Image Gallery
- Classifications
- CWE-79, CWE-94, T1539, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 26, 2025CVE publishedPublication date reported by the CVE source.
- Apr 16, 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=1.0
What conditions does exploitation require?
What is affected?
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
- Crafted Username 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