CVE-2022-0372 Cross-site Scripting (XSS) - Stored in crater-invoice/crater
Stored Cross-Site Scripting in Crater Invoice allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-0372?
CVE-2022-0372 is a high-severity cross-site scripting vulnerability in crater-invoice/crater, published on 27 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in Packagist bytefury/crater prior to 6.0.2.
Weakness: CWE-79
Which versions are affected by CVE-2022-0372?
2 open source packages ship an affected version, including bytefury/crater. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bytefury/crater Packagist | All versions | 6.0.0 |
bytefury/crater Packagist | All versions | 6.0.0 |
Products include Craterapp Crater.
How do I fix CVE-2022-0372?
Upgrade bytefury/crater to 6.0.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-0372 being exploited?
There is no known exploitation of CVE-2022-0372 in the wild and no public exploit code.
Other vulnerabilities in crater-invoice/crater
- CVE-2021-4080 Unrestricted Upload of File with Dangerous Type in crater-invoice/crater
- CVE-2022-0203 Improper Access Control in crater-invoice/crater
- CVE-2023-46865 Code injection in n/a
- CVE-2022-1032 Insecure deserialization of not validated module file in crater-invoice/crater
- CVE-2022-1033 Unrestricted Upload of File with Dangerous Type in crater-invoice/crater
Sources
Also known as GHSA-6vfw-74wr-3chh.