CVE-2025-13971: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thewellnessway TWW Protein Calculator
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.
AI Analysis
Technical Summary
CVE-2025-13971 is a stored Cross-Site Scripting (XSS) vulnerability identified in the TWW Protein Calculator plugin for WordPress, affecting all versions up to and including 1.0.24. The flaw arises from improper neutralization of input during web page generation, specifically through insufficient sanitization and output escaping of the 'Header' setting input. This vulnerability is exploitable only in multi-site WordPress installations where the unfiltered_html capability is disabled, and requires the attacker to have administrator-level privileges. An authenticated administrator can inject arbitrary JavaScript code into the 'Header' field, which is then stored and executed in the context of any user visiting the affected page. This stored XSS can lead to session hijacking, privilege escalation, or unauthorized actions performed on behalf of users. The vulnerability does not require user interaction beyond visiting the compromised page. The CVSS v3.1 base score is 4.4, reflecting a medium severity due to the requirement for high privileges and the complexity of exploitation. No patches are currently linked, and no known exploits have been reported in the wild. The vulnerability is classified under CWE-79, which covers improper neutralization of input leading to XSS attacks.
Potential Impact
The primary impact of CVE-2025-13971 is on the confidentiality and integrity of affected WordPress multi-site environments using the TWW Protein Calculator plugin. An attacker with administrator access can inject malicious scripts that execute in the browsers of users visiting the compromised pages, potentially stealing session cookies, performing unauthorized actions, or defacing content. While availability is not directly affected, the breach of trust and potential data leakage can have significant reputational and operational consequences. Organizations relying on multi-site WordPress setups with this plugin are at risk, especially if administrator accounts are compromised or insufficiently protected. The requirement for administrator privileges limits the scope of exploitation but does not eliminate risk, as insider threats or compromised admin credentials could be leveraged. The lack of known exploits in the wild suggests limited active exploitation currently, but the vulnerability remains a concern for environments with high-value targets or sensitive data.
Mitigation Recommendations
1. Apply patches or updates from the vendor as soon as they become available to address the input sanitization and output escaping issues in the 'Header' setting. 2. Until a patch is released, restrict administrator access to trusted personnel only and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of credential compromise. 3. Review and harden WordPress multi-site configurations, particularly the use of the unfiltered_html capability, to minimize exposure. 4. Implement Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection attempts targeting the plugin. 5. Conduct regular security audits and code reviews of installed plugins to identify and remediate similar vulnerabilities proactively. 6. Educate administrators about the risks of stored XSS and safe input handling practices. 7. Monitor logs and user activity for signs of exploitation or unusual behavior related to the plugin. 8. Consider disabling or replacing the TWW Protein Calculator plugin if it is not essential to reduce attack surface.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, India, France, Netherlands, Brazil, Japan
CVE-2025-13971: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thewellnessway TWW Protein Calculator
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13971 is a stored Cross-Site Scripting (XSS) vulnerability identified in the TWW Protein Calculator plugin for WordPress, affecting all versions up to and including 1.0.24. The flaw arises from improper neutralization of input during web page generation, specifically through insufficient sanitization and output escaping of the 'Header' setting input. This vulnerability is exploitable only in multi-site WordPress installations where the unfiltered_html capability is disabled, and requires the attacker to have administrator-level privileges. An authenticated administrator can inject arbitrary JavaScript code into the 'Header' field, which is then stored and executed in the context of any user visiting the affected page. This stored XSS can lead to session hijacking, privilege escalation, or unauthorized actions performed on behalf of users. The vulnerability does not require user interaction beyond visiting the compromised page. The CVSS v3.1 base score is 4.4, reflecting a medium severity due to the requirement for high privileges and the complexity of exploitation. No patches are currently linked, and no known exploits have been reported in the wild. The vulnerability is classified under CWE-79, which covers improper neutralization of input leading to XSS attacks.
Potential Impact
The primary impact of CVE-2025-13971 is on the confidentiality and integrity of affected WordPress multi-site environments using the TWW Protein Calculator plugin. An attacker with administrator access can inject malicious scripts that execute in the browsers of users visiting the compromised pages, potentially stealing session cookies, performing unauthorized actions, or defacing content. While availability is not directly affected, the breach of trust and potential data leakage can have significant reputational and operational consequences. Organizations relying on multi-site WordPress setups with this plugin are at risk, especially if administrator accounts are compromised or insufficiently protected. The requirement for administrator privileges limits the scope of exploitation but does not eliminate risk, as insider threats or compromised admin credentials could be leveraged. The lack of known exploits in the wild suggests limited active exploitation currently, but the vulnerability remains a concern for environments with high-value targets or sensitive data.
Mitigation Recommendations
1. Apply patches or updates from the vendor as soon as they become available to address the input sanitization and output escaping issues in the 'Header' setting. 2. Until a patch is released, restrict administrator access to trusted personnel only and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of credential compromise. 3. Review and harden WordPress multi-site configurations, particularly the use of the unfiltered_html capability, to minimize exposure. 4. Implement Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection attempts targeting the plugin. 5. Conduct regular security audits and code reviews of installed plugins to identify and remediate similar vulnerabilities proactively. 6. Educate administrators about the risks of stored XSS and safe input handling practices. 7. Monitor logs and user activity for signs of exploitation or unusual behavior related to the plugin. 8. Consider disabling or replacing the TWW Protein Calculator plugin if it is not essential to reduce attack surface.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-03T15:55:16.404Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 693b9187650da22753edbd36
Added to database: 12/12/2025, 3:52:39 AM
Last enriched: 2/27/2026, 10:37:20 AM
Last updated: 3/25/2026, 1:30:18 PM
Views: 70
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.