{"schemaVersion":3,"id":"CVE-2025-46812","aliases":["GHSA-mcrw-746g-9q8h"],"status":"published","duplicateOf":null,"title":null,"description":"Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Versions prior to 2.1.15 are vulnerable to XSS attacks when pasting malicious code. An attacker could trick a user to copy and paste malicious code that would execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed. This issue has been patched in version 2.1.15.","dates":{"published":"2025-05-08T19:27:22.573Z","modified":"2025-05-08T20:00:42.604Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00716,"percentile":0.53213,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.029999999999999992,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00686},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00716,"percentile":0.53213}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00686,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00716,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00716,"percentile":0.53213}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"basecamp","product":"trix","name":"trix","label":"trix","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.15","eol":null,"hubHref":"/vendor/basecamp/trix"},{"vendor":"Npm","product":"trix","name":"trix","label":"trix","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/trix","purlType":"npm","versions":[{"text":"< 2.1.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.15","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h","label":"github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191","label":"github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46812","label":"nvd.nist.gov/vuln/detail/CVE-2025-46812","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/basecamp/trix","label":"github.com/basecamp/trix","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-05-08T19:27:22.573Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-08T20:00:42.604Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":8,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T14:13:28.121Z","stale":false,"partial":false}}