Access-token disclosure via executable SVG uploads
Published Feb 7, 2023 · Updated Mar 25, 2025
XSS in openSUSE paste b57b9f87e303a3db9465776e657378e96845493b and earlier allows remote attackers to read access tokens via SVG uploads. The image-upload path accepts SVG files without neutralizing embedded JavaScript and preserves the script in the hosted file. Execution requires a user to open the uploaded SVG; the script can read an exposed access token that grants access to other services behind the same identity provider.
Summary
What happened
XSS in openSUSE paste b57b9f87e303a3db9465776e657378e96845493b and earlier allows remote attackers to read access tokens via SVG uploads. The image-upload path accepts SVG files without neutralizing embedded JavaScript and preserves the script in the hosted file. Execution requires a user to open the uploaded SVG; the script can read an exposed access token that grants access to other services behind the same identity provider.
The record
- CVE
- CVE-2022-21948
- Published
- Feb 7, 2023
- Updated
- Mar 25, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-79, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 7, 2023CVE publishedPublication date reported by the CVE source.
- Mar 25, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- SUSE Bugzilla SVG upload 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