TWW Protein Calculator Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the TWW Protein Calculator plugin for WordPress, affecting all versions through 1.0.24. The issue arises from inadequate input sanitization and output escaping, allowing authenticated attackers with administrator-level access to inject arbitrary scripts into pages. These scripts execute when users access the compromised pages. This vulnerability is present in multi-site installations where unfiltered_html has been disabled.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the affected page.

Reproduction

To reproduce this vulnerability, an authenticated user with administrator privileges must access the 'Header' setting in the TWW Protein Calculator plugin. After injecting a script into the header, the script will execute when the page is accessed by any user. This vulnerability can be reproduced on WordPress multi-site installations with unfiltered_html disabled.

Remediation

No known patch is available. It is recommended to review the vulnerability details and consider uninstalling the affected plugin.

Added: Dec 12, 2025, 5:05 AM
Updated: Dec 12, 2025, 5:05 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.8
remediation
0.0
relevance
1.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.