CVE-2025-66421 Tryton sao allows XSS because it does not escape completion values

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
tryton-sao npmAll versions6.0.69
tryton-sao npmAll versions6.0.69
tryton-sao npmFrom 7.0.07.0.40
tryton-sao npmFrom 7.0.07.0.40
tryton-sao npmFrom 7.1.07.4.21
tryton-sao npmFrom 7.1.07.4.21
2 more packages
tryton-sao npmFrom 7.5.07.6.11
tryton-sao npmFrom 7.5.07.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.

Is CVE-2025-66421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free