CVE-2025-66421 Tryton sao allows XSS because it does not escape completion values
An attacker can inject malicious scripts via unescaped completion values in the Tryton Sao web client, potentially leading to session hijacking or data theft.
- 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
- Available
What is CVE-2025-66421?
CVE-2025-66421 is a medium-severity cross-site scripting vulnerability in Tryton sao, published on 30 Nov 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
Tryton sao (aka tryton-sao) before 7.6.11 allows XSS because it does not escape completion values. This is fixed in 7.6.11, 7.4.21, 7.0.40, and 6.0.69.
Weakness: CWE-79
Which versions are affected by CVE-2025-66421?
8 open source packages ship an affected version, including tryton-sao.
| Package | Affected | Fixed in |
|---|---|---|
tryton-sao npm | All versions | 6.0.69 |
tryton-sao npm | All versions | 6.0.69 |
tryton-sao npm | From 7.0.0 | 7.0.40 |
tryton-sao npm | From 7.0.0 | 7.0.40 |
tryton-sao npm | From 7.1.0 | 7.4.21 |
tryton-sao npm | From 7.1.0 | 7.4.21 |
2 more packages
tryton-sao npm | From 7.5.0 | 7.6.11 |
tryton-sao npm | From 7.5.0 | 7.6.11 |
How do I fix CVE-2025-66421?
Upgrade tryton-sao to a fixed version for your release line: 6.0.69, 7.0.40, 7.4.21 or 7.6.11.
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-66421 being exploited?
There is no known exploitation of CVE-2025-66421 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2025-66421, DSA-6061-1, GHSA-6qj9-2g9m-29x9, UBUNTU-CVE-2025-66421.