Home / Advisories / CVE-2022-0372 CVE-2022-0372: Cross-site Scripting in Crater Invoice medium Affects bytefury/crater . Feed 2026.11.23.2, updated 2026-11-23; published 2022-01-28 ; advisory modified 2023-11-08 .
Cross-site Scripting in Crater Invoice Package bytefury/crater Composer Affected versions <6.0.0Fixed in 6.0.0Severity medium CVSS 5.4 Exploitation not on CISA KEV · EPSS 1% (51.3th percentile) Published 2022-01-28 Source osv.dev References Quick answers Is CVE-2022-0372 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2022-0372?
bytefury/crater: 6.0.0.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2021-4080 high crater is vulnerable to Unrestricted Upload of File with Dangerous Type same package: bytefury/crater CVE-2022-0242 high Unrestricted Upload of File with Dangerous Type in Crater same package: bytefury/crater CVE-2022-0203 medium Missing Authorization in Crater Invoice same package: bytefury/crater CVE-2020-11023 KEV medium Potential XSS vulnerability in jQuery same weakness: CWE-79 CVE-2019-9978 KEV medium The social-warfare plugin before 3.5.3 for WordPress has stored XSS via the wp-admin/admin same weakness: CWE-79 CVE-2020-11022 medium Potential XSS vulnerability in jQuery same weakness: CWE-79