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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ueberdosis | tiptap-php | < 2.1.1 | 2.1.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | ueberdosis/tiptap-php | < 2.1.1 | 2.1.1 | GHSA-4595-7fjw-r3jh |
References
- tiptap-php 2.1.1 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/tiptap-for-php-dos-via-malformed-href-attribute third-party-advisory