# CVE-2022-37247: Craft CMS vulnerable to stored Cross-site Scripting via /admin/settings/fields page

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2022-09-16T20:27:42.000Z
- Modified: 2026-06-17T04:54:47.883Z
- Also known as: GHSA-3cvm-7wrh-qrf9
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Craft CMS 4.2.0.1 is vulnerable to stored a cross-site scripting (XSS) via /admin/settings/fields page.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- craftcms/cms (Packagist): from 4.0.0-RC1 before 4.2.1
- craftcms craft_cms: 4.2.0.1

## Every score

- 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`

## References

- <https://github.com/craftcms/cms/commit/cedeba0609e4b173cd584dae7f33c5f713f19627> (patch, third-party-advisory, web)
- <https://labs.integrity.pt/advisories/cve-2022-37247/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-37247> (advisory)
- <https://github.com/craftcms/cms> (package)
- <https://github.com/craftcms/cms/blob/3.7.55.2/src/helpers/Cp.php> (web)
- <https://github.com/craftcms/cms/blob/4.0.0-RC1/src/helpers/Cp.php> (web)
- <https://labs.integrity.pt/advisories/cve-2022-37247> (web)

## Sources

- CVE List: [CVE-2022-37247](https://www.cve.org/CVERecord?id=CVE-2022-37247), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-3cvm-7wrh-qrf9](https://github.com/advisories/GHSA-3cvm-7wrh-qrf9), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2022-37247](https://nvd.nist.gov/vuln/detail/CVE-2022-37247), Public domain, modified 2026-06-17

---

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