MEDIUM6.3
GHSA-r4hm-p9f9-fj9v
GeoNode has Stored XSS in Documents metadata abstract field
Quick fix
GHSA-r4hm-p9f9-fj9v — geonode: upgrade to the fixed version with the command below.
pip install --upgrade 'geonode>=5.0.3'Details
The abstract metadata of documents is not sanitised. It’s possible to store arbitrary HTML (and JS) that will be executed when visiting the page.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/GeoNode/geonode/security/advisories/GHSA-r4hm-p9f9-fj9v[WEB]
- https://github.com/GeoNode/geonode/pull/14322[WEB]
- https://github.com/GeoNode/geonode/pull/14343[WEB]
- https://github.com/GeoNode/geonode/commit/0803857b22eba5b55729145ef401b1bc1c23e332[WEB]
- https://github.com/GeoNode/geonode/commit/730d8fae206ea5b051f630718aeecae1bf7b5760[WEB]
- https://github.com/GeoNode/geonode[PACKAGE]
- https://github.com/GeoNode/geonode/releases/tag/5.0.3[WEB]