# CVE-2022-0372: Cross-site Scripting (XSS) - Stored in crater-invoice/crater

- Severity: High 7.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-27T07:35:10.000Z
- Modified: 2026-06-17T04:20:28.863Z
- Also known as: GHSA-6vfw-74wr-3chh
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

Cross-site Scripting (XSS) - Stored in Packagist bytefury/crater prior to 6.0.2.

(As written by CVE List.)

## Affected

- crater-invoice crater-invoice/crater: from unspecified before 6.0.2
- bytefury/crater (Packagist): before 6.0.0
- craterapp crater: before 6.0.2

## Every score

- @huntrdev: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/563232b9-5a93-4f4d-8389-ed805b262ef1> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/crater-invoice/crater/commit/cdc913d16cf624aee852bc9163a7c6ffc8d1da9d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0372> (advisory)
- <https://github.com/crater-invoice/crater/pull/681> (web)
- <https://github.com/crater-invoice/crater> (package)

## Sources

- CVE List: [CVE-2022-0372](https://www.cve.org/CVERecord?id=CVE-2022-0372), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-6vfw-74wr-3chh](https://github.com/advisories/GHSA-6vfw-74wr-3chh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0372](https://nvd.nist.gov/vuln/detail/CVE-2022-0372), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0372 · Whole record: https://cve.day/CVE-2022-0372.json · Rebuilt by cve.day 2026-11-25T22:58:09.432Z
