# CVE-2021-23258: Spring SPEL Expression Language Injection

- Severity: Medium 4.2 (CVSS:3.1, scored by crafter) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- 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.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-12-02T15:40:54.175Z
- Modified: 2026-06-17T03:38:28.803Z
- Weaknesses: CWE-913
- Assigned by: crafter

## Description

Authenticated users with Administrator or Developer roles may execute OS commands by SPEL Expression in Spring beans. SPEL Expression does not have security restrictions, which will cause attackers to execute arbitrary commands remotely (RCE).

(As written by CVE List.)

## Affected

- Crafter Software Crafter CMS: from 3.1 before 3.1.12
- craftercms crafter_cms: from 3.1.0 before 3.1.12

## Every score

- crafter: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2021120101> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-23258](https://www.cve.org/CVERecord?id=CVE-2021-23258), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-23258](https://nvd.nist.gov/vuln/detail/CVE-2021-23258), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23258 · Whole record: https://cve.day/CVE-2021-23258.json · Rebuilt by cve.day 2026-11-25T22:58:05.811Z
