TWW Protein Calculator CVE-2025-13971
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain administrator access to WordPress
-
DeliveryInject script into plugin 'Header' setting
-
ExploitPayload stored unsanitized in template
-
ExecutionVictim loads calculator page
-
ImpactScript executes in victim browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated administrator-level access to WordPress AND one of two non-default server states: a WordPress multi-site network installation, OR a single-site installation where the unfiltered_html capability has been explicitly disabled. On a standard single-site WordPress with unfiltered_html enabled (the default for admins), the flaw is not exploitable because admins may legitimately post HTML. The payload must be entered into the plugin's 'Header' setting and is triggered passively when any user views the protein-calculator (compact or large) template page. The administrator privilege requirement and the non-default multisite/unfiltered_html precondition are the primary factors limiting real-world risk. |
| Impact | This is a genuinely low-priority issue despite being a 'medium' CVSS 4.4, and multiple signals agree. The CVSS vector (AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N) requires administrator-level privileges (PR:H) and high attack complexity (AC:H), the latter reflecting that exploitation only works on multi-site installations or where unfiltered_html is disabled - both non-default conditions. EPSS is low at 0.23% (13th percentile), consistent with no KEV listing and no identified public exploit. No SSVC decision was provided in the input. The signals are mutually reinforcing rather than conflicting: a flaw that already requires an administrator is low-value, since an admin can typically inject scripts through legitimate means on a normal (non-multisite, unfiltered_html-enabled) WordPress site anyway. The practical attacker benefit is narrow - persisting script execution in contexts where an admin's HTML would normally be filtered. The affected product is also an obscure, niche plugin, further limiting real-world exposure. Net: low real risk, not an urgent priority. |
| Exploit ScenarioDerived | On a WordPress multi-site network (or a site with unfiltered_html disabled), an authenticated administrator saves a malicious script payload in the plugin's 'Header' setting. The payload is stored without sanitization and rendered on the protein-calculator template pages, so it executes in the browser of any user who subsequently views an affected page. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the TWW Protein Calculator WordPress plugin affects all versions up to and including 1.0.24, where the plugin's 'Header' setting is neither sanitized on input nor escaped on output before being rendered by the protein-calculator-compact and protein-calculator-large templates. Exploitation requires authenticated administrator-level access (CVSS vector PR:H) and one of two non-default conditions: a WordPress multi-site network, or a single-site installation where the unfiltered_html capability has been explicitly disabled for admins; on a standard single-site install with unfiltered_html enabled, the behavior is not exploitable because admins are already permitted to post raw HTML. Impact is limited (CVSS 4.4, C:L/I:L/A:N), exploitation requires privileged credentials that are already highly trusted, EPSS is only 0.23% (13th percentile), and no public exploit code has been identified at time of analysis; there is no CISA KEV listing, so this is not confirmed actively exploited. This is a genuinely low-priority issue despite its 'medium' CVSS rating, and the privilege and non-default-configuration prerequisites are the primary factors limiting real-world risk.
RemediationAI
No vendor-released patch with an exact fixed version number is identified in the available data; the supplied repository references point to the affected 1.0.24 tag and to unchanged trunk template code, and the only advisory is the Wordfence threat-intel entry referenced above, so administrators should monitor that advisory and the plugin's WordPress.org page for a release newer than 1.0.24 and upgrade as soon as it is published. Until then, the most reliable mitigation is to deactivate and remove the TWW Protein Calculator plugin entirely on multi-site networks or on any single-site installation where unfiltered_html has been restricted - the trade-off is loss of the protein calculator functionality on those pages. If the plugin must remain active, restrict the 'Header' setting to trusted super-administrators only, audit and remove any existing Header values containing HTML or script markup, and reduce the population of administrator accounts, since exploitation requires admin-level credentials (PR:H) and a malicious or compromised admin is the sole attack vector. Note that re-enabling the default unfiltered_html capability for administrators on a single-site install removes the vulnerability's precondition entirely, but does so by granting admins the raw-HTML posting ability they normally already have, so it should be weighed against site policy. As a defense-in-depth measure, a WAF rule or output-filter that strips script tags from the calculator templates' header output can block crafted payloads, but it will not fix the underlying missing sanitization and may be bypassed by obfuscated markup; manual patching via a small mu-plugin that wraps the header output in esc_html() is a viable stopgap but must be maintained and removed once an official fixed version ships.
Affected ProductsAI
The TWW Protein Calculator plugin for WordPress (WordPress.org slug 'twwc-protein') in all versions up to and including 1.0.24. The vulnerable code paths are the compact template at templates/protein-calculator-compact.php line 19 and the large template at templates/protein-calculator-large.php line 32, both of which are present in the 1.0.24 tag and, per the supplied trunk references, remain unchanged in the repository trunk at the time the vulnerability was disclosed - indicating no fixed release was referenced in the available data. No CPE strings were provided by the sources, so version scoping must be taken from the plugin repository tags and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/b57749db-0a47-44f8-8607-d0d962c5ced2?source=cve). Only multi-site WordPress networks and single-site installations where unfiltered_html has been disabled are affected in practice; standard single-site installations with default administrator capabilities are not exploitable.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 improper-neutralization-of-input-during-web-page-generation flaw in a WordPress plugin. TWW Protein Calculator stores a configurable 'Header' value via the WordPress options/settings API; the stored value is subsequently echoed directly into the plugin's front-end templates without esc_html()/esc_attr()/wp_kses() output escaping, as evidenced by the referenced source lines in templates/protein-calculator-compact.php (line 19) and templates/protein-calculator-large.php (line 32) for both the 1.0.24 release tag and the current trunk. Because the payload is persisted in the database rather than reflected, the resulting script executes passively for any visitor who loads a page rendering either calculator template. Note that the input side is also unguarded, but the practical barrier is WordPress's capability model: on a single-site install a normal administrator holds the unfiltered_html capability, so the missing escaping yields no privilege gain and the plugin is effectively not exploitable. The flaw becomes meaningful on multi-site networks (where site admins do not hold unfiltered_html) or on single-site installs where unfiltered_html has been deliberately removed - in those configurations the admin-level account can smuggle markup that the site would otherwise strip. The CVSS scope-changed metric (S:C) reflects that injected script executes in the security context of the accessing user's browser, not that of the vulnerable component itself. No CPE identifiers were supplied in the source data; affected package identification rests on the plugin slug 'twwc-protein' in the WordPress.org plugin repository.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Admin access needed (PR:H) and exploitation only on multisite/unfiltered_html-disabled setups (AC:H); stored XSS executes in another user's browser context (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The TWW Protein Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Header' setting in all versions up to, and including, 1.0.24 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB