{"cve":"CVE-2025-46812","nvd":{"published":"2025-05-08T20:15:30.950","modified":"2026-06-17T09:26:58.450","status":"Deferred","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.","cvss_v4":{"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","score":2.0},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191","https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-46812","score":0.00716,"percentile":0.53777,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mcrw-746g-9q8h","url":"https://osv.dev/vulnerability/GHSA-mcrw-746g-9q8h","summary":"Trix vulnerable to Cross-site Scripting on copy & paste","modified":"2025-05-08T22:00:43Z","packages":[{"ecosystem":"npm","name":"trix","purl":"pkg:npm/trix","ranges":["<2.1.15"],"fixed":["2.1.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}