CVE-2026-135630 in Brands for WooCommerce Plugin
Summary
by MITRE • 11/26/2026
The Premmerce Brands for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'product_brand' parameter in all versions up to, and including, 1.2.16 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is reachable by unauthenticated visitors because WooCommerce's anonymous checkout AJAX endpoint triggers the save_post action, which the plugin processes without any authentication gate, allowing the attacker-supplied product_brand value to be persisted as a new taxonomy term whose name is later echoed unescaped into an HTML attribute on the publicly accessible Brands page.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The Premmerce Brands for WooCommerce plugin, specifically in versions up to and including 1.2.16, contains a critical security vulnerability classified as Stored Cross-Site Scripting (XSS). This flaw stems from insufficient input sanitization and output escaping mechanisms within the application code. The specific vector of exploitation is tied to the product_brand parameter, which allows unauthenticated attackers to inject arbitrary web scripts into pages that are subsequently executed when other users access those affected pages. The severity of this vulnerability lies in its persistence; unlike reflected XSS where malicious payloads are contained within a single request and response cycle, stored XSS involves saving the malicious script on the target server, ensuring it is delivered to every user who views the compromised content.
The technical mechanism enabling this attack relies heavily on how WooCommerce handles anonymous checkout processes through AJAX endpoints. When an unauthenticated visitor interacts with these endpoints, the system triggers a save_post action. The Premmerce plugin intercepts this action without implementing any authentication gate or capability check to verify if the user has permission to modify product brand data. Consequently, an attacker can supply a crafted product_brand value during this process. Because there is no validation, the malicious input is accepted and persisted as a new taxonomy term within the WordPress database. This lack of access control effectively bypasses standard security boundaries that would normally restrict such modifications to authenticated administrators or authorized users only.
Once the malicious payload is stored in the database as part of the brand name, it becomes active whenever the system renders content related to brands. Specifically, when a user visits the publicly accessible Brands page on the WordPress site, the application echoes the unescaped product_brand value directly into an HTML attribute. Since the input was not sanitized upon entry nor escaped upon output, any JavaScript code embedded within that string is executed by the victim's browser in the context of the vulnerable website. This execution environment allows the attacker to perform actions such as stealing session cookies, hijacking user sessions, defacing the site, or redirecting users to malicious external sites designed for phishing or further malware distribution.
From a 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 nature of storing the payload in the database before execution places it firmly within the Stored XSS category rather than reflected DOM-based variants. Furthermore, from an offensive security standpoint such as the MITRE ATT&CK framework, this vulnerability facilitates techniques associated with Client-side Injection and potentially Credential Access if session tokens are harvested. The lack of authentication requirements for a write operation also touches upon CWE-862, Missing Authorization, which is often a precursor to more severe data integrity violations.
The operational impact of this vulnerability extends beyond simple script execution. Because the attack vector requires no prior authentication, it can be exploited by any internet user with basic knowledge of web technologies and access to the site's public-facing endpoints. This significantly lowers the barrier for entry for attackers, increasing the likelihood of successful exploitation at scale. The persistence of the payload means that even after the initial exploit is discovered, all subsequent visitors to the Brands page remain at risk until the malicious taxonomy term is manually removed from the database and the vulnerability is patched in the plugin code. This creates a prolonged window of exposure for site administrators who may not immediately detect the compromise if they do not monitor their brand listings closely.
Mitigation strategies must address both the immediate technical flaw and broader security hygiene practices. The primary remediation involves updating the Premmerce Brands for WooCommerce plugin to version 1.2.17 or later, where these issues have been resolved by implementing proper input sanitization using WordPress functions like sanitize_text_field and ensuring output escaping with esc_attr when rendering data in HTML attributes. Additionally, developers should enforce capability checks on all AJAX handlers that modify post data to ensure only authorized users can trigger save_post actions for sensitive taxonomy terms. For organizations unable to update immediately due to compatibility constraints, implementing a Web Application Firewall (WAF) rule to block requests containing script tags or event handler attributes in the product_brand parameter can provide temporary protection against exploitation while maintaining site availability. Regular security audits and code reviews focusing on input validation and output encoding are essential to prevent similar vulnerabilities in future development cycles.