# Cross-Site Scripting (XSS) Stored endpoint `maintenance_events.shtm` parameter `Alias`
---
## Summary
A Stored Cross-Site Scripting (XSS) vulnerability was identified in the `maintenance_events.shtm` endpoint of the _SCADA-LTS_ application. This vulnerability allows attackers to inject malicious scripts into the `Alias` parameter. The injected payload is stored on the server and executed automatically in the browser of any user who accesses the affected data source entry, creating a persistent attack vector.
---
## Details
**Vulnerable Endpoint:** `POST /maintenance_events.shtm`
**Parameter:** `Alias`
The application does not properly validate or sanitize input in the `Alias` field. As a result, an attacker can inject JavaScript code, which is stored in the system and later rendered in the application’s interface, leading to automatic execution in the user's browser.
---
## PoC
**Payload:**
`
`
### Steps to Reproduce:
1. Log in to the _SCADA-LTS_ application with an account that has permission to create or edit maintenance events.
2. Navigate to the **Maintenance vents** section and select **Add new event** or edit an existing entry.
1. In the **Alias** field, insert the payload above:
`
`
2. Fill in any other required fields and click **Save**.
5. The stored payload is executed immediately in the browser, confirming the Stored XSS vulnerability.
---
## Impact
Stored XSS attacks can lead to severe consequences, including:
- **Session hijacking:** Stealing cookies or authentication tokens to impersonate users
- **Credential theft:** Capturing usernames and passwords through malicious scripts
- **Malware delivery:** Distributing harmful code to application users
- **Privilege escalation:** Compromising higher-privilege accounts via persistent scripts
- **Data manipulation or defacement:** Altering displayed content in the application
- **Reputation damage:** Eroding trust among system users and stakeholders
## References
[CVE-2025-9234](https://www.cve.org/CVERecord?id=CVE-2025-9234)
[VulnDB-320767](https://vuldb.com/?id.320767)
[SCADA-LTS – Official Repository](https://github.com/SCADA-LTS/Scada-LTS)
## Discoverer
[Marcelo Queiroz](www.linkedin.com/in/marceloqueirozjr)
by [CVE-Hunters](https://github.com/Sec-Dojo-Cyber-House/cve-hunters)