Description
NodeBB before 4.15.0 contains a stored cross-site scripting vulnerability in the renderEmoji function that fails to escape tag.icon.url and tag.name attributes. Attackers can deliver malicious ActivityPub Create/Note objects with crafted emoji tags to inject arbitrary HTML and JavaScript into stored post content, executing code in all viewers' browsers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeBB | NodeBB | < 4.15.0 | 4.15.0 |
References
- Researcher Disclosure technical-description issue-tracking
- NodeBB 4.15.0 Release Notes release-notes
- Patch Commit patch
- https://www.vulncheck.com/advisories/nodebb-stored-xss-via-activitypub-emoji-tag-icon-url-and-tag-name third-party-advisory