Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-42567 — cas-server-core-web

MEDIUMFix: apereo/cas@376bf08

CVE-2021-42567 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in org.apereo.cas:cas-server-core-web. A fix is available for org.apereo.cas:cas-server-core-web — see the affected versions and patch details below.

Cross-site Scripting in Apereo CAS

Also known asGHSA-gfhx-jjwq-63gv
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
8.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk
0.00%20.4%40.8%61.1%48.9%8.2%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-42567 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
☕org.apereo.cas:cas-server-core-web

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Apereo CAS through 6.4.1 allows XSS via POST requests sent to the REST API endpoints.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apereo.cas:cas-server-core-weball versions6.4.2org.apereo.cas:cas-server-core-web:6.4.2

Affected Products

1 product · 2 configurations
Application
central authentication serviceapereo
≥ 6.4.0 && < 6.4.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apereo.cas:cas-server-core-web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apereo.cas:cas-server-core-web to 6.4.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-42567 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

How to detect CVE-2021-42567

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-42567 -u https://target
Template
Apereo CAS Cross-Site Scripting
Severity
medium
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, potentially leading to session hijacking, data theft, or defacement.
Remediation
Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.

Template by ProjectDiscovery nuclei-templates (pdteam), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

Apereo CAS through 6.4.1 allows XSS via POST requests sent to the REST API endpoints.
O3 Security · Impact-Aware SCA

Is CVE-2021-42567 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-42567: cas-server-core-web XSS — Fixed in 6.4.2