CVE-2025-66421: Tryton sao XSS Vulnerability Due to Unescaped Completion Values

tryton-sao Updated 02 Dec 2025

Summary

30/11/2025
Yes i
Moderate
5.4

CVE-2025-66421: Tryton sao allows XSS because it does not escape completion values. Affects tryton-sao across 4 version ranges.

< 6.0.69 >= 7.0.0, < 7.0.40 >= 7.1.0, < 7.4.21 >= 7.5.0, < 7.6.11

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Tryton sao is a web-based client for the Tryton application server, designed to facilitate the management of business processes. It provides a user-friendly interface for various functionalities, including accounting, inventory management, and project management. The package is built using JavaScript and is part of the broader Tryton ecosystem, which is known for its modular architecture and extensibility. However, it has been identified to have a vulnerability that allows for cross-site scripting (XSS) attacks due to improper handling of completion values.

Vulnerability Detail

The vulnerability in Tryton sao arises from its failure to escape completion values, which can lead to XSS attacks. This issue can be exploited by an attacker to inject malicious scripts into web pages viewed by other users. The lack of proper escaping means that user input is not sanitized, allowing for potential data theft, session hijacking, or defacement of the web application. The vulnerability affects multiple versions of the package, specifically those prior to the patched versions.

How To Fix

Latest published version: 8.2.0 as of 22 Oct 2026

npm install tryton-sao@8.2.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 6.0.69 6.0.69
    npm install tryton-sao@6.0.69
  • >= 7.0.0, < 7.0.40 7.0.40
    npm install tryton-sao@7.0.40
  • >= 7.1.0, < 7.4.21 7.4.21
    npm install tryton-sao@7.4.21
  • >= 7.5.0, < 7.6.11 7.6.11
    npm install tryton-sao@7.6.11

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization on the client-side to mitigate the risk of XSS attacks. However, this is not a substitute for updating the package. Ensure that any user-generated content is properly escaped before rendering it in the application.

Conclusion

The Tryton sao package has a critical XSS vulnerability due to unescaped completion values, affecting multiple versions. It is essential to update to the latest patched version to protect your application from potential attacks. Implementing additional input validation can provide temporary relief, but updating is the most effective solution.

See every vulnerability recorded for tryton-sao →

Share this vulnerability

FAQ

The vulnerability is a cross-site scripting (XSS) issue caused by the failure to escape completion values.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your package-lock.json for vulnerabilities.

Exploitation of this vulnerability can lead to data theft, session hijacking, and unauthorized actions performed on behalf of users.

While the best solution is to update to a patched version, you can implement input validation and sanitization as a temporary workaround.

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for tryton-sao.

How To Fix

Latest published version: 8.2.0 as of 22 Oct 2026

npm install tryton-sao@8.2.0

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 6.0.69 6.0.69
    npm install tryton-sao@6.0.69
  • >= 7.0.0, < 7.0.40 7.0.40
    npm install tryton-sao@7.0.40
  • >= 7.1.0, < 7.4.21 7.4.21
    npm install tryton-sao@7.4.21
  • >= 7.5.0, < 7.6.11 7.6.11
    npm install tryton-sao@7.6.11

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback