CVE-2024-23821

GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)

Description

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.4 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the GWC Demos Page. Access to the GWC Demos Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a patch for this issue.

Category

4.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.34%
Vendor Advisory github.com
Affected: geoserver geoserver
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-23821?
CVE-2024-23821 has been scored as a medium severity vulnerability.
How to fix CVE-2024-23821?
To fix CVE-2024-23821, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-23821 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-23821 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-23821?
CVE-2024-23821 affects geoserver geoserver.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.