Vulnerabilities in pkg:npm/tryton-sao

PACKAGE
Advisory Identifier: GHSA-xhgv-99mj-8m2x
Advisory Summary

CVE-2025-66420 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Tryton sao libraries in the npm ecosystem. The issue involves tryton sao allows xss via an html attachment. Remediation is available by upgrading affected packages to version 7.6.9, 7.4.19, 7.0.38, 6.0.67.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/tryton-sao

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/tryton-sao. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xhgv-99mj-8m2x CVE-2025-66420 MODERATE Tryton sao allows XSS via an HTML attachment
GHSA-6qj9-2g9m-29x9 CVE-2025-66421 MODERATE Tryton sao allows XSS because it does not escape completion values

CVE-2025-66420 at a Glance

CVE Identifier CVE-2025-66420
GHSA Identifier GHSA-xhgv-99mj-8m2x
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Tryton sao
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-66420

To remediate this vulnerability, upgrade all affected Tryton sao dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

tryton-sao fixed: 7.6.9
npm install tryton-sao@7.6.9
tryton-sao fixed: 7.4.19
npm install tryton-sao@7.4.19
tryton-sao fixed: 7.0.38
npm install tryton-sao@7.0.38
tryton-sao fixed: 6.0.67
npm install tryton-sao@6.0.67
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls tryton-sao

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-66420, inspect your project dependencies using npm:

npm ls tryton-sao

Analyze the terminal output to locate any version of Tryton sao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.6.9), your application is affected.

Note: The npm ls tryton-sao command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Tryton sao, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Tryton sao (aka tryton-sao) before 7.6.9 allows XSS via an HTML attachment. This is fixed in 7.6.9, 7.4.19, 7.0.38, and 6.0.67.

CVE-2025-66420 Affected Tryton sao Versions

4 component(s)
Fixed Versions:
7.6.97.4.197.0.386.0.67
Product / Package Ecosystem Affected Versions Fixed Version
tryton-sao
npm
≥ 7.5.0
< 7.6.9
7.6.9
tryton-sao
npm
≥ 7.1.0
< 7.4.19
7.4.19
tryton-sao
npm
≥ 7.0.0
< 7.0.38
7.0.38
tryton-sao
npm
< 6.0.67
6.0.67

References

Frequently Asked Questions

What is CVE-2025-66420?
CVE-2025-66420 is a security vulnerability in Tryton sao involving Tryton sao allows XSS via an HTML attachment under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Tryton sao versions are affected?
Affected versions include releases prior to 7.6.9, 7.4.19, 7.0.38, 6.0.67 across affected packages: tryton-sao.
What version fixes CVE-2025-66420?
Upgrading to 7.6.9, 7.4.19, 7.0.38, 6.0.67 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tryton-sao affected?
Yes, tryton-sao is affected in releases prior to 7.6.9, 7.4.19, 7.0.38, 6.0.67. Upgrade your dependency to 7.6.9, 7.4.19, 7.0.38, 6.0.67 or later.
What is the CVSS score of CVE-2025-66420?
CVE-2025-66420 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-66420?
CVE-2025-66420 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check npm dependencies for CVE-2025-66420?
Run the dependency tree command: 'npm ls tryton-sao'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xhgv-99mj-8m2x",
  "modified" : "2025-12-02T00:31:41Z",
  "published" : "2025-11-30T03:30:26Z",
  "aliases" : [ "CVE-2025-66420" ],
  "summary" : "Tryton sao allows XSS via an HTML attachment",
  "details" : "Tryton sao (aka tryton-sao) before 7.6.9 allows XSS via an HTML attachment. This is fixed in 7.6.9, 7.4.19, 7.0.38, and 6.0.67.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "tryton-sao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.5.0"
      }, {
        "fixed" : "7.6.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "tryton-sao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.1.0"
      }, {
        "fixed" : "7.4.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "tryton-sao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.0.38"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "tryton-sao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.0.67"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66420"
  }, {
    "type" : "WEB",
    "url" : "https://discuss.tryton.org/t/security-release-for-issue-14290/8895"
  }, {
    "type" : "WEB",
    "url" : "https://foss.heptapod.net/tryton/tryton/-/issues/14290"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tryton/sao"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-02T00:31:41Z",
    "nvd_published_at" : "2025-11-30T03:15:46Z"
  }
}