Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-66420

MEDIUM · 5.4 CVSS v3.1 Published 2025-11-30
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

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 · unedited
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.

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 confidence

Tryton 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify the Tryton sao web client version
    Locate 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.
  2. Confirm the attachment module is enabled
    Check 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.
  3. Verify HTML file upload capability
    Test 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.
  4. Check if HTML attachments render without sanitization
    Create 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.
  5. Review any existing input sanitization
    Examine 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

Upgrade to 7.6.9 (or 7.4.19, 7.0.38, or 6.0.67 depending on your release series)

  1. Identify the currently installed version of tryton-sao (tryton-sa or tryton-sao) in your environment
  2. Determine which release series you are using (6.0, 7.0, 7.4, or 7.6)
  3. 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
  4. Verify the upgrade completed successfully by checking the new version number
  5. 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.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing8.0 h
  • Review / QA2.0 h
16.0 hours of engineering $2,680
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-66420 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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