CVE Catalog

CVE-2025-21621

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

21th percentile - higher than 21% of all known CVEs

Summary

GeoServer prior to version 2.25.0 contains a reflected cross-site scripting (XSS) vulnerability in the WMS GetFeatureInfo HTML output format, enabling a remote attacker to execute arbitrary JavaScript code in a victim's browser via specially crafted SLD_BODY parameters. This issue has been patched in version 2.25.0.

Risk Assessment

An attacker can execute malicious script in the victim's browser context, potentially hijacking sessions or stealing data.

Recommendation

Update GeoServer to version 2.25.0 or later.

Other vulnerabilities in GeoServer

See all
Original NVD description (English source)

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.25.0, a reflected cross-site scripting (XSS) vulnerability exists in the WMS GetFeatureInfo HTML output format that enables a remote attacker to execute arbitrary JavaScript code in a victim's browser through specially crafted SLD_BODY parameters. This issue has been patched in version 2.25.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS