Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/trix@2.1.13 |
| Type | npm |
| Namespace | |
| Name | trix |
| Version | 2.1.13 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 2.1.17 |
| Latest_non_vulnerable_version | 2.1.18 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-d266-4vk3-buc1 |
| vulnerability_id |
VCID-d266-4vk3-buc1 |
| summary |
Trix vulnerable to Cross-site Scripting on copy & paste
### Impact
The Trix editor, in versions prior to 2.1.15, is 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.
### Patches
Update Recommendation: Users should upgrade to Trix editor version 2.1.15 or later.
### References
The XSS vulnerability was reported by HackerOne researcher [hiumee](https://hackerone.com/hiumee?type=user). |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2025-46812 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.5747 |
| published_at |
2026-04-04T12:55:00Z |
|
| 1 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57501 |
| published_at |
2026-04-18T12:55:00Z |
|
| 2 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57478 |
| published_at |
2026-04-13T12:55:00Z |
|
| 3 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57496 |
| published_at |
2026-04-12T12:55:00Z |
|
| 4 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57519 |
| published_at |
2026-04-11T12:55:00Z |
|
| 5 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57504 |
| published_at |
2026-04-16T12:55:00Z |
|
| 6 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.575 |
| published_at |
2026-04-08T12:55:00Z |
|
| 7 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57448 |
| published_at |
2026-04-02T12:55:00Z |
|
| 8 |
| value |
0.0035 |
| scoring_system |
epss |
| scoring_elements |
0.57447 |
| published_at |
2026-04-07T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2025-46812 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
|
| fixed_packages |
|
| aliases |
CVE-2025-46812, GHSA-mcrw-746g-9q8h
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-d266-4vk3-buc1 |
|
| 1 |
| url |
VCID-k8n9-p3pp-8fh7 |
| vulnerability_id |
VCID-k8n9-p3pp-8fh7 |
| summary |
Trix has a Stored XSS vulnerability through serialized attributes
### Impact
The Trix editor, in versions prior to 2.1.17, is vulnerable to XSS attacks when a `data-trix-serialized-attributes` attribute bypasses the DOMPurify sanitizer.
An attacker could craft HTML containing a `data-trix-serialized-attributes` attribute with a malicious payload that, when the content is rendered, could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed.
### Patches
Update Recommendation: Users should upgrade to Trix editor version 2.1.17 or later.
### References
The XSS vulnerability was responsibly reported by Hackerone researcher [newbiefromcoma](https://hackerone.com/newbiefromcoma). |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-qmpg-8xg6-ph5q
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-k8n9-p3pp-8fh7 |
|
| 2 |
| url |
VCID-q1s4-ash2-5udy |
| vulnerability_id |
VCID-q1s4-ash2-5udy |
| summary |
Trix has a stored XSS vulnerability through its attachment attribute
The Trix editor, in versions prior to 2.1.16, is vulnerable to XSS attacks through attachment payloads.
An attacker could inject malicious code into a data-trix-attachment attribute that, when rendered as HTML and clicked on, could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-g9jg-w8vm-g96v
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-q1s4-ash2-5udy |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/trix@2.1.13 |