CVE-2025-5843: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in brandfolder Brandfolder – Digital Asset Management Simplified.
The Brandfolder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 5.0.19 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-5843 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the Brandfolder plugin for WordPress, a digital asset management tool. The vulnerability exists due to insufficient sanitization and escaping of the 'id' parameter in all versions up to and including 5.0.19. Authenticated users with Contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing credentials, or performing unauthorized actions on behalf of users. The vulnerability does not require user interaction beyond page access and has a CVSS v3.1 score of 6.4, reflecting medium severity. The attack vector is network-based, with low attack complexity and privileges required at the contributor level. The scope is changed as the vulnerability affects multiple users and potentially the entire site. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially in plugins that handle user-generated content or parameters.
Potential Impact
The primary impact of CVE-2025-5843 is the compromise of confidentiality and integrity within affected WordPress sites using the Brandfolder plugin. Attackers with contributor-level access can inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, theft of sensitive information, unauthorized actions, and defacement. This can erode user trust, damage brand reputation, and lead to data breaches. Since the vulnerability affects a digital asset management plugin, organizations relying on Brandfolder to manage and share critical media assets may face operational disruptions and intellectual property exposure. The medium CVSS score indicates a significant but not critical risk; however, the ease of exploitation by authenticated users and the persistent nature of stored XSS increase the threat. The lack of known exploits in the wild suggests limited current active targeting, but the vulnerability remains a viable attack vector for insider threats or compromised contributor accounts. Organizations worldwide using WordPress with Brandfolder are at risk, especially those with multiple contributors and public-facing content.
Mitigation Recommendations
To mitigate CVE-2025-5843, organizations should first check for any official patches or updates from Brandfolder and apply them immediately once available. In the absence of patches, administrators should restrict contributor-level access to trusted users only and review existing contributor accounts for suspicious activity. Implementing Web Application Firewalls (WAFs) with rules to detect and block common XSS payloads targeting the 'id' parameter can reduce risk. Additionally, site administrators can sanitize and validate input parameters at the application level, employing strict whitelisting of allowed characters for the 'id' parameter. Employing Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Regular security audits and monitoring for unusual script injections or page modifications are recommended. Educating contributors about safe content practices and the risks of injecting untrusted code is also beneficial. Finally, consider isolating or limiting the use of the Brandfolder plugin if immediate remediation is not feasible.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-5843: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in brandfolder Brandfolder – Digital Asset Management Simplified.
Description
The Brandfolder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and including, 5.0.19 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-5843 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the Brandfolder plugin for WordPress, a digital asset management tool. The vulnerability exists due to insufficient sanitization and escaping of the 'id' parameter in all versions up to and including 5.0.19. Authenticated users with Contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing credentials, or performing unauthorized actions on behalf of users. The vulnerability does not require user interaction beyond page access and has a CVSS v3.1 score of 6.4, reflecting medium severity. The attack vector is network-based, with low attack complexity and privileges required at the contributor level. The scope is changed as the vulnerability affects multiple users and potentially the entire site. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially in plugins that handle user-generated content or parameters.
Potential Impact
The primary impact of CVE-2025-5843 is the compromise of confidentiality and integrity within affected WordPress sites using the Brandfolder plugin. Attackers with contributor-level access can inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, theft of sensitive information, unauthorized actions, and defacement. This can erode user trust, damage brand reputation, and lead to data breaches. Since the vulnerability affects a digital asset management plugin, organizations relying on Brandfolder to manage and share critical media assets may face operational disruptions and intellectual property exposure. The medium CVSS score indicates a significant but not critical risk; however, the ease of exploitation by authenticated users and the persistent nature of stored XSS increase the threat. The lack of known exploits in the wild suggests limited current active targeting, but the vulnerability remains a viable attack vector for insider threats or compromised contributor accounts. Organizations worldwide using WordPress with Brandfolder are at risk, especially those with multiple contributors and public-facing content.
Mitigation Recommendations
To mitigate CVE-2025-5843, organizations should first check for any official patches or updates from Brandfolder and apply them immediately once available. In the absence of patches, administrators should restrict contributor-level access to trusted users only and review existing contributor accounts for suspicious activity. Implementing Web Application Firewalls (WAFs) with rules to detect and block common XSS payloads targeting the 'id' parameter can reduce risk. Additionally, site administrators can sanitize and validate input parameters at the application level, employing strict whitelisting of allowed characters for the 'id' parameter. Employing Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Regular security audits and monitoring for unusual script injections or page modifications are recommended. Educating contributors about safe content practices and the risks of injecting untrusted code is also beneficial. Finally, consider isolating or limiting the use of the Brandfolder plugin if immediate remediation is not feasible.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-06T22:39:41.725Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68774ab7a83201eaacd437fe
Added to database: 7/16/2025, 6:46:15 AM
Last enriched: 2/27/2026, 3:37:47 PM
Last updated: 3/26/2026, 10:26:40 AM
Views: 126
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.