A potential attacker with or without (cookie theft) access to the device would be able to include malicious code (XSS) when uploading new device configuration that could affect the intended function of the device.
https://www.cisa.gov/news-events/ics-advisories/icsa-23-250-03