CVE-2017-12971: XSS in Apache2Triad 1.5.4 phpsftpd/users.php
- Vendor
- Apache2triad
A cross-site scripting (XSS) vulnerability exists in Apache2Triad 1.5.4, specifically in the phpsftpd/users.php script. The vulnerability is due to insufficient sanitization of the 'account' parameter, allowing remote attackers to inject arbitrary web script or HTML.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, credential theft, or other malicious actions within the affected web application.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the vulnerable script, employ web application firewalls to filter malicious input, and ensure that user-supplied data is properly sanitized and encoded before being rendered in the browser.
Remediation
Patch, then assume compromise.
Upgrade to a version of Apache2Triad where input validation and output encoding are properly implemented for the 'account' parameter in phpsftpd/users.php. If no patched version is available, apply a custom patch to sanitize user input and encode output.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-12971 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2017-12971 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-12971?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2017-12971.
- Is there a patch for CVE-2017-12971?
- Upgrade to a version of Apache2Triad where input validation and output encoding are properly implemented for the 'account' parameter in phpsftpd/users.php. If no patched version is available, apply a custom patch to sanitize user input and encode output.
- What products are affected by CVE-2017-12971?
- Apache2triad.
- How severe is CVE-2017-12971?
- CVE-2017-12971 has a CVSS v3 score of 6.1 (Medium) and an EPSS score of 2.6% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.