# CVE-2021-46361: Arbitrary code execution in Magnolia CMS

Source: https://junglewise.ai/threats/cve-2021-46361-arbitrary-code-execution-in-magnolia-cms  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-12  
License: CC BY 4.0 with a link back

CVE-2021-46361 · Severity: low · CVSS 3.1 · Published 2022-02-12

Arbitrary code execution in Magnolia CMS

Technologies: [info.magnolia:magnolia-core (Maven)](https://junglewise.ai/threats/technologies/info-magnolia-magnolia-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2021-46361?** Low severity, with a CVSS score of 3.1, published 12 February 2022.

**Which products and versions are affected?** info.magnolia:magnolia-core (Maven) ECOSYSTEM:introduced=0,fixed=6.2.12.

**Is there a fix for CVE-2021-46361?** Yes. info.magnolia:magnolia-core (Maven): upgrade to 6.2.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-46361?** Check whether you run info.magnolia:magnolia-core (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

- info.magnolia:magnolia-core (Maven): upgrade to 6.2.12 or later

  ```sh
  # set info.magnolia:magnolia-core to 6.2.12 in your pom.xml or build.gradle
  ```


## Affected products

- info.magnolia:magnolia-core (Maven) ECOSYSTEM:introduced=0,fixed=6.2.12

## Identifiers

- CVE-2021-46361
- GHSA-m4hg-5p2m-fm5m

## Related threats

- [Cross-Site Request Forgery in Magnolia CMS](https://junglewise.ai/threats/cve-2021-46366-cross-site-request-forgery-in-magnolia-cms)
- [Improper Restriction of XML External Entity Reference in Magnolia CMS](https://junglewise.ai/threats/cve-2021-46365-improper-restriction-of-xml-external-entity-reference-in-magnolia)
- [Arbitrary code execution in Magnolia CMS](https://junglewise.ai/threats/cve-2021-46363-arbitrary-code-execution-in-magnolia-cms)
- [Deserialization of Untrusted Data in Magnolia CMS](https://junglewise.ai/threats/cve-2021-46364-deserialization-of-untrusted-data-in-magnolia-cms)
