GitHub Advisory Database
GHSA-4595-7fjw-r3jh
Tiptap contains an input validation vulnerability resulting in DoS
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | ueberdosis/tiptap-php | All versions before 2.1.1 (fixed in 2.1.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-47110
- https://github.com/ueberdosis/tiptap-php/pull/94
- https://github.com/ueberdosis/tiptap-php/commit/74bfb7be1c8c6102b240f3879b7f984a6ab87b97
- https://github.com/ueberdosis/tiptap-php
- https://github.com/ueberdosis/tiptap-php/releases/tag/2.1.1
- https://www.vulncheck.com/advisories/tiptap-for-php-dos-via-malformed-href-attribute