# CVE-2022-40635: CrafterCMS OS Command Injection vulnerability

Source: https://junglewise.ai/threats/cve-2022-40635-craftercms-os-command-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-14  
License: CC BY 4.0 with a link back

CVE-2022-40635 · Severity: low · CVSS 3.1 · Published 2022-09-14

CrafterCMS OS Command Injection vulnerability

Technologies: [org.craftercms:craftercms (Maven)](https://junglewise.ai/threats/technologies/org-craftercms-craftercms). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-40635 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-40635 being exploited in the wild.

**How severe is CVE-2022-40635?** Low severity, with a CVSS score of 3.1, published 14 September 2022.

**Which products and versions are affected?** org.craftercms:craftercms (Maven) ECOSYSTEM:introduced=3.1.0,fixed=3.1.23.

**Is there a fix for CVE-2022-40635?** Yes. org.craftercms:craftercms (Maven): upgrade to 3.1.23 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-40635?** Check whether you run org.craftercms:craftercms (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.craftercms:craftercms (Maven): upgrade to 3.1.23 or later

  ```sh
  # set org.craftercms:craftercms to 3.1.23 in your pom.xml or build.gradle
  ```


## Affected products

- org.craftercms:craftercms (Maven) ECOSYSTEM:introduced=3.1.0,fixed=3.1.23

## Identifiers

- CVE-2022-40635
- GHSA-j6x3-3jqq-m922

## Related threats

- [Crafter CMS has Improper Control of Dynamically-Managed Code Resources](https://junglewise.ai/threats/cve-2026-1770-crafter-cms-has-improper-control-of-dynamically-managed-code)
- [Improper Privilege Management in craftercms](https://junglewise.ai/threats/cve-2021-23265-improper-privilege-management-in-craftercms)
- [Log value insertion in craftercms](https://junglewise.ai/threats/cve-2021-23266-log-value-insertion-in-craftercms)
