CVE-2025-2745 AVEVA PI Web API Cross-site Scripting
Authenticated attackers can inject persistent JavaScript via annotations, requiring victims to disable CSP, leading to code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-2745?
CVE-2025-2745 is a medium-severity cross-site scripting vulnerability in AVEVA PI Web API, published on 12 Jun 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A cross-site scripting vulnerability exists in AVEVA PI Web API version 2023 SP1 and prior that, if exploited, could allow an authenticated attacker (with privileges to create/update annotations or upload media files) to persist arbitrary JavaScript code that will be executed by users who were socially engineered to disable content security policy protections while rendering annotation attachments from within a web browser.
Weakness: CWE-79
Which versions are affected by CVE-2025-2745?
How do I fix CVE-2025-2745?
No fix has been published for CVE-2025-2745 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-2745 being exploited?
There is no known exploitation of CVE-2025-2745 in the wild and no public exploit code.
Sources
Also known as GHSA-986q-gcjg-v754.