CVE-2021-42567: XSS in Apereo CAS REST API (<=6.4.1)
- Vendor
- Apereo
A cross-site scripting (XSS) vulnerability exists in Apereo CAS through version 6.4.1, where REST API endpoints fail to properly sanitize input from POST requests, allowing the injection and execution of arbitrary JavaScript code in the context of the user session.
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 users interacting with the REST API, potentially leading to session hijacking, credential theft, or other attacks leveraging the user's browser context.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, implement input validation and output encoding on the affected REST API endpoints, and consider deploying a web application firewall (WAF) with XSS filtering capabilities as a temporary measure.
Remediation
Patch, then assume compromise.
Upgrade Apereo CAS to a version later than 6.4.1 where input sanitization for REST API endpoints has been properly implemented to prevent XSS.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
Frequently asked questions
- Is CVE-2021-42567 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-42567?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-42567.
- Is there a patch for CVE-2021-42567?
- Upgrade Apereo CAS to a version later than 6.4.1 where input sanitization for REST API endpoints has been properly implemented to prevent XSS.
- What products are affected by CVE-2021-42567?
- Apereo Central Authentication Service.
- How severe is CVE-2021-42567?
- CVE-2021-42567 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 8.2% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.