CVE-2025-21621
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-25

Last updated on: 2025-12-03

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-25
Last Modified
2025-12-03
Generated
2026-05-07
AI Q&A
2025-11-26
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
geoserver geoserver to 2.25.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a reflected cross-site scripting (XSS) issue in GeoServer versions prior to 2.25.0. It occurs in the WMS GetFeatureInfo HTML output format, where an attacker can inject malicious JavaScript code through specially crafted SLD_BODY parameters. When a victim's browser processes this malicious input, the attacker’s code executes, potentially compromising the victim's session or data.


How can this vulnerability impact me? :

The vulnerability can allow a remote attacker to execute arbitrary JavaScript code in the browser of anyone who accesses the affected GeoServer service with maliciously crafted requests. This can lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the victim's browser session.


What immediate steps should I take to mitigate this vulnerability?

Upgrade GeoServer to version 2.25.0 or later, as this version contains the patch that fixes the reflected cross-site scripting (XSS) vulnerability in the WMS GetFeatureInfo HTML output format.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart