GHSA-vhrc-hgrq-x75r

Suggest an improvement
Source
https://github.com/advisories/GHSA-vhrc-hgrq-x75r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-vhrc-hgrq-x75r/GHSA-vhrc-hgrq-x75r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vhrc-hgrq-x75r
Aliases
Published
2025-12-09T18:30:35Z
Modified
2025-12-10T00:41:15.991503Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 2.0 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P CVSS Calculator
Summary
@tiptap/extension-link vulnerable to Cross-site Scripting (XSS)
Details

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.

Database specific
{
    "nvd_published_at": "2025-12-09T16:17:37Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2025-12-10T00:01:26Z",
    "severity": "LOW",
    "github_reviewed": true
}
References

Affected packages

npm / @tiptap/extension-link

Package

Name
@tiptap/extension-link
View open source insights on deps.dev
Purl
pkg:npm/%40tiptap/extension-link

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-vhrc-hgrq-x75r/GHSA-vhrc-hgrq-x75r.json"