CVE-2025-66420
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedTryton 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceTryton sao (web client) before 7.6.9, 7.4.19, 7.0.38, and 6.0.67 contains a stored XSS vulnerability where malicious HTML content embedded in an attachment can execute arbitrary JavaScript in a victim's browser when the attachment is rendered or viewed.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the Tryton sao web client versionLocate the sao version file (typically in the sao package.json or version metadata). On the server, check the Tryton version being run: look at the server version file, setup.py __version__ attribute, or query the Tryton server's version endpoint if available. The sao version typically matches the Tryton server major.minor version.Affected if The installed version is before 7.6.9, 7.4.19, 7.0.38, or 6.0.67 depending on which release branch is in use.
-
Confirm the attachment module is enabledCheck if the 'ir_attachment' model or attachment functionality is available in the Tryton instance. This can be done by reviewing the active Tryton modules/plugins or by attempting to access the attachment management interface in the sao client.Affected if Attachments are enabled and users can upload files to the Tryton system.
-
Verify HTML file upload capabilityTest whether a user with appropriate permissions can upload an HTML file as an attachment through the sao web client interface. Attempt to upload a file with .html extension via the attachment upload feature.Affected if HTML files can be uploaded as attachments without being blocked by file type restrictions.
-
Check if HTML attachments render without sanitizationCreate and upload a test HTML attachment containing a benign script tag (e.g., <script>console.log('test')</script>), then view/render that attachment in the sao client. Observe whether the JavaScript executes in the browser context.Affected if HTML attachments are rendered directly in the browser without server-side sanitization, allowing embedded JavaScript to execute.
-
Review any existing input sanitizationExamine the server-side code or configuration for any HTML sanitization middleware, content security policy headers, or attachment handling filters that may strip or neutralize script tags from uploaded HTML files.Affected if No sanitization or CSP controls are in place to prevent XSS from attachment content.
A user is affected if they run any Tryton sao version before 7.6.9 (or the corresponding patch for their branch), have the attachment module enabled, and allow HTML file uploads that render without sanitization.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Tryton sao to the appropriate patched version (7.6.9, 7.4.19, 7.0.38, or 6.0.67 depending on the active branch). As a temporary measure, restrict or sanitize HTML attachment uploads until the upgrade is applied.
Upgrade to 7.6.9 (or 7.4.19, 7.0.38, or 6.0.67 depending on your release series)
- Identify the currently installed version of tryton-sao (tryton-sa or tryton-sao) in your environment
- Determine which release series you are using (6.0, 7.0, 7.4, or 7.6)
- Upgrade tryton-sao to the corresponding fixed version for your release series: 6.0.67, 7.0.38, 7.4.19, or 7.6.9
- Verify the upgrade completed successfully by checking the new version number
- Test that HTML attachments are properly sanitized and no longer allow XSS execution
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,288.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-66420 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-66420 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data