CVE-2025-13682: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in phegman Trail Manager
The Trail Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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-13682 is a stored cross-site scripting (XSS) vulnerability identified in the Trail Manager plugin for WordPress, developed by phegman. This vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically due to insufficient input sanitization and output escaping in the plugin's admin settings interface. It affects all versions up to and including 1.0.0. The flaw allows an authenticated attacker with administrator-level permissions or higher to inject arbitrary JavaScript code into pages managed by the plugin. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities within the WordPress environment. Notably, the vulnerability only manifests in multi-site WordPress installations or in single-site setups where the unfiltered_html capability is disabled, limiting the scope of impact. The CVSS v3.1 base score is 4.4, reflecting a medium severity level, with the vector indicating network attack vector (AV:N), high attack complexity (AC:H), high privileges required (PR:H), no user interaction (UI:N), and a scope change (S:C). The impact primarily affects confidentiality and integrity, with no direct availability impact. No public exploits are currently known, and no patches have been officially released at the time of publication. The vulnerability was reserved on November 25, 2025, and published on December 5, 2025. Given the nature of the vulnerability, exploitation requires administrative access, which reduces the likelihood of widespread exploitation but increases risk within compromised administrative environments.
Potential Impact
For European organizations, the impact of CVE-2025-13682 depends largely on their use of the Trail Manager plugin within WordPress multi-site environments or configurations with unfiltered_html disabled. Successful exploitation could allow attackers with admin privileges to inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, data theft, or unauthorized actions performed on behalf of legitimate users. This compromises the confidentiality and integrity of the affected systems and data. While availability is not directly impacted, the trustworthiness of the affected WordPress sites could be undermined, leading to reputational damage. Organizations with large WordPress deployments, especially those managing multiple sites from a single installation, face increased risk. The requirement for high privileges limits the threat to environments where administrative credentials are already compromised or insufficiently protected. Nonetheless, the vulnerability could be leveraged as part of a broader attack chain, especially in targeted attacks against organizations with valuable data or critical web infrastructure.
Mitigation Recommendations
1. Restrict administrative access strictly to trusted personnel and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of credential compromise. 2. Monitor and audit administrative activities within WordPress, focusing on changes to plugin settings and suspicious script injections. 3. Apply strict input validation and output escaping in custom or third-party plugins, including Trail Manager, to prevent injection of malicious scripts. 4. Disable or limit the use of multi-site WordPress installations where possible, or ensure that unfiltered_html capabilities are carefully managed and restricted. 5. Regularly update WordPress core and plugins; although no patch is currently available for this vulnerability, monitor vendor advisories for forthcoming fixes. 6. Employ Web Application Firewalls (WAFs) with rules designed to detect and block XSS payloads targeting admin interfaces. 7. Conduct security awareness training for administrators to recognize phishing and social engineering attempts that could lead to credential theft. 8. Consider isolating critical WordPress instances or using containerization to limit the blast radius of potential attacks exploiting this vulnerability.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-13682: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in phegman Trail Manager
Description
The Trail Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, 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
Technical Analysis
CVE-2025-13682 is a stored cross-site scripting (XSS) vulnerability identified in the Trail Manager plugin for WordPress, developed by phegman. This vulnerability arises from improper neutralization of input during web page generation (CWE-79), specifically due to insufficient input sanitization and output escaping in the plugin's admin settings interface. It affects all versions up to and including 1.0.0. The flaw allows an authenticated attacker with administrator-level permissions or higher to inject arbitrary JavaScript code into pages managed by the plugin. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities within the WordPress environment. Notably, the vulnerability only manifests in multi-site WordPress installations or in single-site setups where the unfiltered_html capability is disabled, limiting the scope of impact. The CVSS v3.1 base score is 4.4, reflecting a medium severity level, with the vector indicating network attack vector (AV:N), high attack complexity (AC:H), high privileges required (PR:H), no user interaction (UI:N), and a scope change (S:C). The impact primarily affects confidentiality and integrity, with no direct availability impact. No public exploits are currently known, and no patches have been officially released at the time of publication. The vulnerability was reserved on November 25, 2025, and published on December 5, 2025. Given the nature of the vulnerability, exploitation requires administrative access, which reduces the likelihood of widespread exploitation but increases risk within compromised administrative environments.
Potential Impact
For European organizations, the impact of CVE-2025-13682 depends largely on their use of the Trail Manager plugin within WordPress multi-site environments or configurations with unfiltered_html disabled. Successful exploitation could allow attackers with admin privileges to inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, data theft, or unauthorized actions performed on behalf of legitimate users. This compromises the confidentiality and integrity of the affected systems and data. While availability is not directly impacted, the trustworthiness of the affected WordPress sites could be undermined, leading to reputational damage. Organizations with large WordPress deployments, especially those managing multiple sites from a single installation, face increased risk. The requirement for high privileges limits the threat to environments where administrative credentials are already compromised or insufficiently protected. Nonetheless, the vulnerability could be leveraged as part of a broader attack chain, especially in targeted attacks against organizations with valuable data or critical web infrastructure.
Mitigation Recommendations
1. Restrict administrative access strictly to trusted personnel and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of credential compromise. 2. Monitor and audit administrative activities within WordPress, focusing on changes to plugin settings and suspicious script injections. 3. Apply strict input validation and output escaping in custom or third-party plugins, including Trail Manager, to prevent injection of malicious scripts. 4. Disable or limit the use of multi-site WordPress installations where possible, or ensure that unfiltered_html capabilities are carefully managed and restricted. 5. Regularly update WordPress core and plugins; although no patch is currently available for this vulnerability, monitor vendor advisories for forthcoming fixes. 6. Employ Web Application Firewalls (WAFs) with rules designed to detect and block XSS payloads targeting admin interfaces. 7. Conduct security awareness training for administrators to recognize phishing and social engineering attempts that could lead to credential theft. 8. Consider isolating critical WordPress instances or using containerization to limit the blast radius of potential attacks exploiting this vulnerability.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-25T19:02:35.552Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6932a9b1f88dbe026c8e9fc5
Added to database: 12/5/2025, 9:45:21 AM
Last enriched: 12/12/2025, 10:50:05 AM
Last updated: 1/19/2026, 8:44:16 PM
Views: 79
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.
Related Threats
CVE-2026-23852: CWE-94: Improper Control of Generation of Code ('Code Injection') in siyuan-note siyuan
MediumCVE-2026-1174: Resource Consumption in birkir prime
MediumCVE-2026-23837: CWE-863: Incorrect Authorization in franklioxygen MyTube
CriticalCVE-2026-23851: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
HighCVE-2026-23850: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.