CVE-2025-14284: Cross-site Scripting (XSS) in @tiptap/extension-link
Versions of the package @tiptap/extension-link before 2.10.4 are vulnerable to Cross-site Scripting (XSS) due to unsanitized user input allowed in setting or toggling links. An attacker can execute arbitrary JavaScript code in the context of the application by injecting a javascript: URL payload into these attributes, which is then triggered either by user interaction.
AI Analysis
Technical Summary
CVE-2025-14284 is a Cross-site Scripting (XSS) vulnerability identified in the @tiptap/extension-link package, a widely used JavaScript extension for managing links within rich text editors. Versions prior to 2.10.4 fail to properly sanitize user input when links are set or toggled, specifically allowing injection of malicious javascript: URL payloads. This unsanitized input can be crafted by an attacker to execute arbitrary JavaScript code in the victim’s browser context once the user interacts with the malicious link. The vulnerability does not require authentication or elevated privileges, but does require user interaction to trigger the payload. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), user interaction required (UI:A), and limited impact on confidentiality and integrity (CI:L, II:L), with no impact on availability. The vulnerability is classified as medium severity with a CVSS score of 5.1. No known exploits have been reported in the wild, but the potential for abuse in web applications that embed this package is significant, especially in environments where user-generated content is common. The lack of sanitization in link attributes can facilitate session hijacking, credential theft, or execution of malicious scripts, undermining user trust and application security. The vulnerability was published on December 9, 2025, and remediation involves upgrading to version 2.10.4 or later where input sanitization is enforced.
Potential Impact
For European organizations, this vulnerability poses a risk primarily to web applications that utilize the @tiptap/extension-link package for rich text editing and link management. Exploitation can lead to execution of arbitrary JavaScript in users’ browsers, potentially resulting in session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. This can undermine confidentiality and integrity of user data and may lead to reputational damage, regulatory non-compliance (e.g., GDPR breaches), and financial losses. Organizations in sectors with high reliance on web-based collaboration tools, content management systems, or customer-facing portals that incorporate this package are at elevated risk. The requirement for user interaction limits automated exploitation but does not eliminate risk, especially in environments with high user engagement or where social engineering can be leveraged. The medium severity score reflects moderate impact and ease of exploitation, emphasizing the need for timely patching to prevent potential attacks.
Mitigation Recommendations
European organizations should immediately identify all instances of the @tiptap/extension-link package in their web applications and verify the version in use. Upgrading to version 2.10.4 or later is the primary and most effective mitigation step, as it includes proper input sanitization to prevent XSS payload injection. In addition, organizations should implement Content Security Policy (CSP) headers to restrict execution of unauthorized scripts and reduce the impact of potential XSS attacks. Web application firewalls (WAFs) can be tuned to detect and block suspicious javascript: URL patterns in user inputs. Developers should review and harden input validation and sanitization routines beyond the package level, especially for user-generated content. Security awareness training for users to recognize and avoid interacting with suspicious links can reduce exploitation likelihood. Regular security testing, including automated scanning and manual penetration testing focused on XSS vectors, should be incorporated into the development lifecycle. Monitoring for anomalous user behavior and incident response readiness will help detect and mitigate any exploitation attempts.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Italy, Spain
CVE-2025-14284: Cross-site Scripting (XSS) in @tiptap/extension-link
Description
Versions of the package @tiptap/extension-link before 2.10.4 are vulnerable to Cross-site Scripting (XSS) due to unsanitized user input allowed in setting or toggling links. An attacker can execute arbitrary JavaScript code in the context of the application by injecting a javascript: URL payload into these attributes, which is then triggered either by user interaction.
AI-Powered Analysis
Technical Analysis
CVE-2025-14284 is a Cross-site Scripting (XSS) vulnerability identified in the @tiptap/extension-link package, a widely used JavaScript extension for managing links within rich text editors. Versions prior to 2.10.4 fail to properly sanitize user input when links are set or toggled, specifically allowing injection of malicious javascript: URL payloads. This unsanitized input can be crafted by an attacker to execute arbitrary JavaScript code in the victim’s browser context once the user interacts with the malicious link. The vulnerability does not require authentication or elevated privileges, but does require user interaction to trigger the payload. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), user interaction required (UI:A), and limited impact on confidentiality and integrity (CI:L, II:L), with no impact on availability. The vulnerability is classified as medium severity with a CVSS score of 5.1. No known exploits have been reported in the wild, but the potential for abuse in web applications that embed this package is significant, especially in environments where user-generated content is common. The lack of sanitization in link attributes can facilitate session hijacking, credential theft, or execution of malicious scripts, undermining user trust and application security. The vulnerability was published on December 9, 2025, and remediation involves upgrading to version 2.10.4 or later where input sanitization is enforced.
Potential Impact
For European organizations, this vulnerability poses a risk primarily to web applications that utilize the @tiptap/extension-link package for rich text editing and link management. Exploitation can lead to execution of arbitrary JavaScript in users’ browsers, potentially resulting in session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. This can undermine confidentiality and integrity of user data and may lead to reputational damage, regulatory non-compliance (e.g., GDPR breaches), and financial losses. Organizations in sectors with high reliance on web-based collaboration tools, content management systems, or customer-facing portals that incorporate this package are at elevated risk. The requirement for user interaction limits automated exploitation but does not eliminate risk, especially in environments with high user engagement or where social engineering can be leveraged. The medium severity score reflects moderate impact and ease of exploitation, emphasizing the need for timely patching to prevent potential attacks.
Mitigation Recommendations
European organizations should immediately identify all instances of the @tiptap/extension-link package in their web applications and verify the version in use. Upgrading to version 2.10.4 or later is the primary and most effective mitigation step, as it includes proper input sanitization to prevent XSS payload injection. In addition, organizations should implement Content Security Policy (CSP) headers to restrict execution of unauthorized scripts and reduce the impact of potential XSS attacks. Web application firewalls (WAFs) can be tuned to detect and block suspicious javascript: URL patterns in user inputs. Developers should review and harden input validation and sanitization routines beyond the package level, especially for user-generated content. Security awareness training for users to recognize and avoid interacting with suspicious links can reduce exploitation likelihood. Regular security testing, including automated scanning and manual penetration testing focused on XSS vectors, should be incorporated into the development lifecycle. Monitoring for anomalous user behavior and incident response readiness will help detect and mitigate any exploitation attempts.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2025-12-08T18:35:25.788Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6937aed7c0f7ae2eacecdbcf
Added to database: 12/9/2025, 5:08:39 AM
Last enriched: 12/9/2025, 5:08:53 AM
Last updated: 12/10/2025, 11:37:38 PM
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-67509: CWE-94: Improper Control of Generation of Code ('Code Injection') in neuron-core neuron-ai
HighCVE-2025-67510: CWE-250: Execution with Unnecessary Privileges in neuron-core neuron-ai
CriticalCVE-2025-67513: CWE-521: Weak Password Requirements in FreePBX security-reporting
MediumCVE-2025-67505: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in okta okta-sdk-java
HighCVE-2025-67490: CWE-863: Incorrect Authorization in auth0 nextjs-auth0
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.