Vulnerabilities in pkg:npm/tryton-sao
PACKAGECVE-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.
pkg:npm/tryton-sao
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
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).
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.
npm install tryton-sao@7.6.9
npm install tryton-sao@7.4.19
npm install tryton-sao@7.0.38
npm install tryton-sao@6.0.67
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
CVE-2025-66420 Affected Tryton sao Versions
4 component(s)| 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?
Which Tryton sao versions are affected?
What version fixes CVE-2025-66420?
Is tryton-sao affected?
What is the CVSS score of CVE-2025-66420?
What CWE is associated with CVE-2025-66420?
How can I check npm dependencies for CVE-2025-66420?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}