# CVE-2022-24847: Improper Input Validation in GeoServer

Source: https://junglewise.ai/threats/cve-2022-24847-improper-input-validation-in-geoserver  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-22  
License: CC BY 4.0 with a link back

CVE-2022-24847 · Severity: low · CVSS 3.1 · Published 2022-04-22

Improper Input Validation in GeoServer

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

## Quick answers

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

**How severe is CVE-2022-24847?** Low severity, with a CVSS score of 3.1, published 22 April 2022.

**Which products and versions are affected?** org.geoserver:gs-main (Maven) ECOSYSTEM:introduced=2.20.0,fixed=2.20.4.

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

**Am I affected by CVE-2022-24847?** Check whether you run org.geoserver:gs-main (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.geoserver:gs-main (Maven): upgrade to 2.20.4 or later

  ```sh
  # set org.geoserver:gs-main to 2.20.4 in your pom.xml or build.gradle
  ```


## Affected products

- org.geoserver:gs-main (Maven) ECOSYSTEM:introduced=2.20.0,fixed=2.20.4

## Identifiers

- CVE-2022-24847
- GHSA-4pm3-f52j-8ggh

## Related threats

- [GeoServer Server-Side Template Injection in FreeMarker templates](https://junglewise.ai/threats/cve-2024-45747-geoserver-server-side-template-injection-in-freemarker-templates)
- [GeoServer SSRF in XML entity resolution via proxy base URL bypass](https://junglewise.ai/threats/cve-2025-58175-geoserver-ssrf-in-xml-entity-resolution-via-proxy-base-url-bypass)
- [GeoServer's Server Status shows sensitive environmental variables and Java properties](https://junglewise.ai/threats/cve-2024-34696-geoserver-s-server-status-shows-sensitive-environmental-variables)
- [GeoServer's Style Publisher vulnerable to Stored Cross-Site Scripting (XSS)](https://junglewise.ai/threats/cve-2024-23640-geoserver-s-style-publisher-vulnerable-to-stored-cross-site)
- [GeoServer path traversal in log file configuration](https://junglewise.ai/threats/cve-2023-41877-geoserver-path-traversal-in-log-file-configuration)
