Skip to main content

TWW Protein Calculator CVE-2025-13971

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security@wordfence.com
4.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain administrator access to WordPress
  2. Delivery
    Inject script into plugin 'Header' setting
  3. Exploit
    Payload stored unsanitized in template
  4. Execution
    Victim loads calculator page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 4.4 MEDIUM

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.

3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Rare
obscure niche WordPress calculator plugin, negligible production footprint
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy