# CVE-2026-73427: Trix: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController)

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-03-29T15:22:17.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-53p3-c7vp-4mcc
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to cross-site scripting when a crafted application/x-trix-document JSON payload is dropped into an editor using the fallback Level0InputController, such as an embedded WebView without Input Events Level 2 support. The StringPiece.fromJSON method trusts href attributes from the JSON payload without sanitization, allowing a draggable element containing a javascript: URI to bypass DOMPurify sanitization and inject executable JavaScript into the DOM. Exploitation requires the victim to drag and drop attacker-controlled content, and server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.

(As written by CVE List.)

## Affected

- basecamp trix: < 2.1.18
- trix (npm): before 2.1.18
- action_text-trix (RubyGems): before 2.1.18

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/basecamp/trix/security/advisories/GHSA-53p3-c7vp-4mcc> (web)
- <https://github.com/basecamp/trix/pull/1293>
- <https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c> (web)
- <https://github.com/basecamp/trix/releases/tag/v2.1.18> (web)
- <https://github.com/basecamp/trix> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-53p3-c7vp-4mcc.yml> (web)

## Sources

- CVE List: [CVE-2026-73427](https://www.cve.org/CVERecord?id=CVE-2026-73427), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-53p3-c7vp-4mcc](https://github.com/advisories/GHSA-53p3-c7vp-4mcc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73427](https://nvd.nist.gov/vuln/detail/CVE-2026-73427), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73427 · Whole record: https://cve.day/CVE-2026-73427.json · Rebuilt by cve.day 2026-11-25T22:59:32.661Z
