Tiptap contains an input validation vulnerability resulting in DoS
Impact
Tiptap for PHP before version 2.1.1 contains an input validation vulnerability that allows authenticated attackers to cause a denial of service by submitting Tiptap JSON with the attrs.href field set to an array instead of a string, causing an unhandled TypeError in the Link::isAllowedUri() function when passed to preg_match(). Attackers can persist malformed JSON records that permanently crash the server-side HTML rendering pipeline for all subsequent viewers of that record until the database entry is manually repaired.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.1.1Ecosystem versions | 2.1.1 |
Version evidence: OSV · GHSA-4595-7fjw-r3jh
View original version evidence (7 explicit versions)
Original source description
Tiptap for PHP before version 2.1.1 contains an input validation vulnerability that allows authenticated attackers to cause a denial of service by submitting Tiptap JSON with the attrs.href field set to an array instead of a string, causing an unhandled TypeError in the Link::isAllowedUri() function when passed to preg_match(). Attackers can persist malformed JSON records that permanently crash the server-side HTML rendering pipeline for all subsequent viewers of that record until the database entry is manually repaired.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-47110
- Patch github.com/ueberdosis/tiptap-php/pull/94
- Patch github.com/ueberdosis/tiptap-php/commit/74bfb7be1c8c6102b240f3879b7f984a6ab87b97
- Source reference github.com/ueberdosis/tiptap-php
- Release notes github.com/ueberdosis/tiptap-php/releases/tag/2.1.1
- Security advisory www.vulncheck.com/advisories/tiptap-for-php-dos-via-malformed-href-attribute