WaratekVRT Sign in

CVE-2022-40634 Crafter CMS

Affected softwareCrafter CMS
Severity7.2 High CVSS 3.1 2 scores
Fixed in3.1.23
WeaknessOS command injection (CWE-78)
Published13 Sep 2022
Updated17 Jun 2026

Description

Improper Control of Dynamically-Managed Code Resources vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute OS commands via FreeMarker SSTI.

CWE-913

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 1.6% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2022-40634: FreeMarker Server-Side Template Injection in CrafterCMS 2023-12-01

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-78: OS Command Injection.

How to mitigate CVE-2022-40634

Upgrade Crafter CMS to 3.1.23 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.2 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 Primary published
CVSS 3.1 6.4 MEDIUM CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H security@craftersoftware.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.craftercms:crafter-studio 3.1.0 3.1.23 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd craftercms crafter cms generic ≥ 3.1.0 and < 3.1.23
osv org.craftercms crafter-studio generic ≥ 3.1.0 and < 3.1.23

References

URLTags
https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2022051601 WEB
https://github.com/craftercms/studio PACKAGE

Timeline

Published2022-09-13By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.