CVE-2021-46361 json
Arbitrary code execution in Magnolia CMS
published 2022-02-11 4 y ago modified 2026-06-17 4 mo ago also GHSA-m4hg-5p2m-fm5m , EUVD-2022-1088
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
An issue in the Freemark Filter of Magnolia CMS v6.2.11 and below allows attackers to bypass security restrictions and execute arbitrary code via a crafted FreeMarker payload.
Patch / fix
- maven info.magnolia:magnolia-core 6.2.12
- magnolia-cms magnolia_cms 6.2.12
Exploit prediction
2.78% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2021-46361-FreeMarker%20Bypass-Magnolia%20CMS referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | info.magnolia:magnolia-core | <6.2.12 |
6.2.12 |
References
-
github.com
/DrunkenShells/Disclosures/tree/master/CVE-2021-46361-FreeMarker%20Bypass-Magnolia%20CMS
web, exploit, third-party-advisory
-
docs.magnolia-cms.com
/product-docs/6.2/Releases/Release-notes-for-Magnolia-CMS-6.2.12.html#_security_advisory
web, release-notes, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-46361
advisory
Sources
- CVE List CVE-2021-46361
- GitHub Advisory GHSA-m4hg-5p2m-fm5m
- NVD CVE-2021-46361
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.