Publish GHSA-mcrw-746g-9q8h

This commit is contained in:
advisory-database[bot]
2025-05-08 14:49:34 +00:00
parent 38c14ae27a
commit 682851a5e3
@@ -0,0 +1,61 @@
{
"schema_version": "1.4.0",
"id": "GHSA-mcrw-746g-9q8h",
"modified": "2025-05-08T14:48:23Z",
"published": "2025-05-08T14:48:23Z",
"aliases": [
"CVE-2025-46812"
],
"summary": "Trix vulnerable to Cross-site Scripting on copy & paste",
"details": "### Impact\nThe Trix editor, in versions prior to 2.1.15, is vulnerable to XSS attacks when pasting malicious code.\n\nAn 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.\n\n### Patches\nUpdate Recommendation: Users should upgrade to Trix editor version 2.1.15 or later.\n\n### References\nThe XSS vulnerability was reported by HackerOne researcher [hiumee](https://hackerone.com/hiumee?type=user).",
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "trix"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.15"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h"
},
{
"type": "WEB",
"url": "https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191"
},
{
"type": "PACKAGE",
"url": "https://github.com/basecamp/trix"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "LOW",
"github_reviewed": true,
"github_reviewed_at": "2025-05-08T14:48:23Z",
"nvd_published_at": null
}
}