Stored XSS via unsandboxed SVG asset responses
Published May 2, 2022 · Updated Sep 16, 2024
Stored XSS in Vendure 0.1.0-alpha.2 through 1.5.1 allows remote authenticated users to execute JavaScript via uploaded SVG assets. AssetServerPlugin serves uploaded SVG files inline without a restrictive Content-Security-Policy header, so embedded scripts execute when the source URL opens in a new tab. Catalog permission is required to upload the file, and an administrator or regular user must open it before attacker-controlled script runs in that user's Vendure origin.
Summary
What happened
Stored XSS in Vendure 0.1.0-alpha.2 through 1.5.1 allows remote authenticated users to execute JavaScript via uploaded SVG assets. AssetServerPlugin serves uploaded SVG files inline without a restrictive Content-Security-Policy header, so embedded scripts execute when the source URL opens in a new tab. Catalog permission is required to upload the file, and an administrator or regular user must open it before attacker-controlled script runs in that user's Vendure origin.
The record
- CVE
- CVE-2022-23065
- Published
- May 2, 2022
- Updated
- Sep 16, 2024
- Vendor
- Vendure
- Product
- Vendure
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 2, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 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.1.0-alpha.2 <unspecified
- Affected versionversion=unspecified <=1.5.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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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