Vulnerabilities / ActivityPub / WPSEC-2026-3513

ActivityPub <= 9.4.3 - Unauthenticated Stored Cross-Site Scripting via Custom Emoji in Tag Attributes

Medium 6.1 CWE-79Fixed in 9.4.4
ID
WPSEC-2026-3513
Plugin
ActivityPub (activitypub)
Affected
all versions before 9.4.4
Remediation
Update to 9.4.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-19
Attack surface
ActivityPub on WPSec AttackSurface
Fix released
Published

Description

The ActivityPub plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom emoji shortcodes in federated content in all versions up to, and including, 9.4.3, due to the plugin wrapping emoji shortcodes in emoji blocks, and rendering them as img markup, anywhere in the text, including inside HTML tag attributes. The generated markup can break out of the attribute when the content is stored without a second kses pass, for example when a reply is imported through the URL search while an administrator is logged in. This makes it possible for unauthenticated attackers controlling a remote Fediverse actor to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, if they can trick an administrator into performing an action such as searching for or opening a link to the attacker's post.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0