CVE-2026-127133 in Stream – Activity Log & Audit Trail Plugin
Summary
by MITRE • 11/21/2026
The Stream – Activity Log & Audit Trail plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'group-name' parameter in all versions up to, and including, 4.5.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires BuddyPress to be active with its Groups component enabled and default group-creation permissions in place, allowing any logged-in member to create groups.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/21/2026
The vulnerability identified in The Stream – Activity Log & Audit Trail plugin for WordPress represents a significant security risk within the ecosystem of content management systems that rely on BuddyPress integration. This specific flaw is classified as a Stored Cross-Site Scripting, or XSS, vulnerability affecting all versions up to and including 4.5.0. The root cause lies in insufficient input sanitization and output escaping mechanisms when handling the group-name parameter. Unlike reflected XSS attacks where malicious scripts are executed immediately via a crafted link, stored vulnerabilities persist on the target server. In this context, the malicious script is saved within the database as part of the group name metadata. Consequently, every time an administrator or another user views the activity log or audit trail associated with that specific group, the injected JavaScript code executes in their browser session. This persistence transforms a single injection point into a widespread attack vector capable of compromising multiple users over time without requiring further interaction from the attacker beyond the initial creation event.
The operational impact of this vulnerability is severe due to its reliance on authenticated access and specific plugin configurations. The exploit requires an attacker to possess at least subscriber-level access, which is often one of the lowest privilege levels available in WordPress installations. This low barrier to entry means that even users with minimal permissions can trigger the flaw if they have the ability to create groups within BuddyPress. When combined with default group-creation permissions and the active status of the BuddyPress Groups component, any logged-in member becomes a potential threat actor. The execution context is particularly dangerous because it occurs in areas typically accessed by site administrators or moderators who monitor system activity. If an attacker successfully injects malicious scripts into these logs, they can hijack administrative sessions, steal cookies containing authentication tokens, perform actions on behalf of the victim such as changing settings or creating new users, and potentially deface the website interface. The persistence of this data means that remediation requires not only patching the software but also cleaning existing compromised records from the database to prevent continued exploitation by other administrators who view those logs.
From a technical classification perspective, this vulnerability aligns with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The specific mechanism involves server-side storage of untrusted data without adequate validation or encoding before rendering it in the browser context. Furthermore, within the MITRE ATT&CK framework for enterprise security, this behavior maps to techniques associated with Client-Side Injection and potentially Account Manipulation if used to escalate privileges through session hijacking. The attack chain typically involves the attacker creating a group with a name containing JavaScript payloads such as event handlers or script tags designed to exfiltrate data via beacon requests or redirect users to phishing sites. Because WordPress plugins often handle sensitive audit information, compromising these interfaces undermines the integrity of security monitoring tools themselves, allowing attackers to potentially cover their tracks by manipulating logs after gaining initial access through XSS-induced session theft.
Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The primary defense is upgrading The Stream plugin to a version later than 4.5.0 where the developers have implemented proper input sanitization using functions like wp_kses or sanitize_text_field, and output escaping via esc_html or similar methods tailored for HTML contexts. Administrators should also review BuddyPress settings to ensure that group creation permissions are restricted to higher-privilege roles if feasible within their organizational structure, thereby reducing the attack surface available to lower-level users. Additionally, implementing a Content Security Policy header can help mitigate the impact of any successful XSS attempts by restricting the sources from which scripts can be loaded and executed. Regular security audits and penetration testing focused on input validation across all user-facing parameters are essential for maintaining resilience against such injection attacks in complex WordPress environments that integrate multiple plugins with overlapping functionalities.