{"id":"GHSA-53g2-mvcc-q9x3","revision":null,"records":[{"revision":"a4aad6f63cda476587ce441f463defd4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-73428","aliases":[],"title":"Trix: Stored XSS via HTMLParser attribute injection on paste","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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span>` with an empty `data-trix-attachment=\"{}\"` value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML and execute when another user renders and clicks the content. Applications that apply server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.","state":0,"publishedAt":"2026-08-13T22:04:19.121+00:00","modifiedAt":"2026-08-14T18:06:36.864+00:00","affected":[{"ecosystem":"Vendor product","name":"trix","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"basecamp\",\n                    \"product\": \"trix\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.1.18\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":"MEDIUM"}],"references":["https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3","https://github.com/basecamp/trix/pull/1293","https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","https://github.com/basecamp/trix/releases/tag/v2.1.18"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-73428","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-73428","identifiers":["CVE-2026-73428"]},"retained":false,"historicalAffected":[]},{"revision":"215667b07cea4317a0caaac3f3a5e300","observedAt":"2026-11-11T16:05:31.897+00:00","statement":{"source":"euvd","id":"EUVD-2026-58520","aliases":["CVE-2026-73428","GHSA-53g2-mvcc-q9x3"],"title":"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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span…","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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span>` with an empty `data-trix-attachment=\"{}\"` value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML and execute when another user renders and clicks the content. Applications that apply server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":null}],"references":["https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3","https://github.com/basecamp/trix/pull/1293","https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","https://github.com/basecamp/trix/releases/tag/v2.1.18"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-58520","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 13, 2026, 10:04:19 PM","dateUpdated":"Aug 14, 2026, 6:06:36 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-58520","identifiers":["EUVD-2026-58520","CVE-2026-73428","GHSA-53g2-mvcc-q9x3"]},"retained":false,"historicalAffected":[]},{"revision":"e1cdab7068d24c5b9bafb6cb467345d6","observedAt":"2026-10-25T15:19:09.409+00:00","statement":{"source":"nvd","id":"CVE-2026-73428","aliases":[],"title":"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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span…","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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span>` with an empty `data-trix-attachment=\"{}\"` value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML and execute when another user renders and clicks the content. Applications that apply server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.","state":0,"publishedAt":"2026-08-13T22:17:26.587+00:00","modifiedAt":"2026-09-18T20:09:01.757+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":"MEDIUM"}],"references":["https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","https://github.com/basecamp/trix/pull/1293","https://github.com/basecamp/trix/releases/tag/v2.1.18","https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-73428","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-79"],"productCriteria":[],"sourceDates":{"published":"2026-08-13T22:17:26.587","lastModified":"2026-09-18T20:09:01.757"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-73428","identifiers":["CVE-2026-73428"]},"retained":false,"historicalAffected":[]},{"revision":"7a83c6d6747546158313cf41a337f3f7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-53g2-mvcc-q9x3","aliases":["CVE-2026-73428"],"title":"Trix: Stored XSS via HTMLParser attribute injection on paste","description":"### Impact\n\nThe Trix editor, in versions prior to 2.1.18, is vulnerable to XSS when crafted HTML is pasted into the editor. The `HTMLParser` processed a mock attachment, a `<span>` carrying an empty `data-trix-attachment=\"{}\"`. The empty attachment object caused the element to bypass attachment handling, so its `data-trix-attributes` were applied to a plain string piece. The pre-2.1.18 `StringPiece.fromJSON` accepted the `href` without validation, so an attacker-supplied `javascript:` URI was carried into the document model and emitted verbatim into the serialized HTML, executing when the content was rendered and clicked.\n\nThis is a stored XSS in any application that accepts untrusted rich text through Trix and renders the serialized output to other users. Applications that apply server-side HTML sanitization, such as the Rails built-in sanitizer, are additionally protected because the payload is neutralized on save.\n\nThis vulnerability shares its fix with GHSA-53p3-c7vp-4mcc. Both are resolved by the `StringPiece.fromJSON` sanitization added in 2.1.18. This advisory covers the paste and HTMLParser entry vector, while GHSA-53p3-c7vp-4mcc covers the drag-and-drop path through the fallback Level0InputController.\n\n### Patches\n\nUsers should upgrade to Trix editor version 2.1.18 or later.\n\n### References\n\nThe vulnerability was responsibly reported by HackerOne researcher [newbiefromcoma](https://hackerone.com/newbiefromcoma).","state":0,"publishedAt":"2026-07-24T16:18:01+00:00","modifiedAt":"2026-08-12T21:11:05.764982+00:00","affected":[{"ecosystem":"npm","name":"trix","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.18"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"RubyGems","name":"action_text-trix","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.18"}]}],"versions":["0.0.1","2.1.15","2.1.16","2.1.17"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3","https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","https://github.com/basecamp/trix","https://github.com/basecamp/trix/releases/tag/v2.1.18"],"sourceUrl":"https://github.com/advisories/GHSA-53g2-mvcc-q9x3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-53g2-mvcc-q9x3","identifiers":["GHSA-53g2-mvcc-q9x3","CVE-2026-73428"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T04:18:36.4231440+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T04:18:36.423144+00:00","lastSuccessAt":"2026-11-13T04:18:36.6499472+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.6499505+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-eec2a7b6fa103d7adf500db624fb62eee17c31f1d368f8ffbfab89234260d0bb","complete":true,"records":424956,"lastAttemptAt":"2026-11-13T04:16:36.7627787+00:00","lastSuccessAt":"2026-11-13T04:16:36.734253+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:16:36.7627787+00:00","snapshotPublishedAt":"2026-11-13T03:23:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e04a199e7d564def944246e638d9fcaf","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T04:28:27.2271603+00:00","lastSuccessAt":"2026-11-13T04:28:27.21+00:00","error":"466 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T04:28:27.21+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13347,"expectedIdentifiers":13846,"failedIdentifiers":466},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T04:18:36.4231440+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T04:18:36.423144+00:00","lastSuccessAt":"2026-11-13T04:18:36.6506845+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.6506847+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-77eeb9ad53d240dc91f8e3d507ac52a2","complete":true,"records":13781,"lastAttemptAt":"2026-11-13T04:18:42.8820004+00:00","lastSuccessAt":"2026-11-13T04:18:42.877+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:42.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T04:18:36.3735153+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.3735153+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T04:16:36.9142039+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:16:36.9142039+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-13T04:18:36.3861738+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.3861738+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f70b10812c5ddf50a1d5d3981278bc04de2258aeffba4d04b8366dfdb415cc24","complete":true,"records":231754,"lastAttemptAt":"2026-11-13T04:18:36.2431554+00:00","lastSuccessAt":"2026-11-13T04:18:34.7446316+00:00","error":null,"lastVerifiedAt":"2026-11-13T04:18:36.2431554+00:00","snapshotPublishedAt":"2026-11-13T03:47:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}