Browser script execution via unsanitized remote images
Published Sep 18, 2023 · Updated Sep 25, 2024
Cross-site scripting in Memos before 0.15.1 allows remote attackers to execute script through crafted image content after user interaction. The getimage endpoint's GetImage function accepted an image response from an attacker-controlled URL and returned its body without sanitization. A victim must cause the crafted remote image to be fetched and rendered; script then runs in the application's browser origin with access to the victim's session.
Summary
What happened
Cross-site scripting in Memos before 0.15.1 allows remote attackers to execute script through crafted image content after user interaction. The getimage endpoint's GetImage function accepted an image response from an attacker-controlled URL and returned its body without sanitization. A victim must cause the crafted remote image to be fetched and rendered; script then runs in the application's browser origin with access to the victim's session.
The record
- CVE
- CVE-2023-5036
- Published
- Sep 18, 2023
- Updated
- Sep 25, 2024
- Vendor
- Memos
- Product
- Memos
- Classifications
- CWE-352, T1204
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 18, 2023CVE publishedPublication date reported by the CVE source.
- Sep 25, 2024Record 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=0 <0.15.1
- Affected versionversion=unspecified <0.15.1
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.
Public exploit references
- huntr.dev proof-of-concept reportproof of concept · unverified
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