The UberFire Framework 0.3.x does not properly restrict paths, which allows remote attackers to (1) execute arbitrary code by uploading crafted content to FileUploadServlet or (2) read arbitrary files via vectors involving FileDownloadServlet.
https://github.com/advisories/GHSA-6h58-c7r7-g2hw
https://github.com/uberfire/uberfire/commit/21ec50eb15
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-2796
http://www.securityfocus.com/bid/88199