NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2021-3536 — wildfly-parent

MEDIUM

CVE-2021-3536 is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in org.wildfly:wildfly-parent. A fix is available for org.wildfly:wildfly-parent — see the affected versions and patch details below.

Cross-site Scripting in Wildfly

Also known asBIT-wildfly-2021-3536GHSA-v2wx-jj66-2hp7
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs45th percentile — riskier than 45% of all scored CVEsHighest risk
0.00%0.34%0.69%1.03%0.3%0.5%May 26Sep 26Nov 26

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

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕org.wildfly:wildfly-parent

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

A flaw was found in Wildfly in versions before 23.0.2.Final while creating a new role in domain mode via the admin console, it is possible to add a payload in the name field, leading to XSS. This affects Confidentiality and Integrity.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.wildfly:wildfly-parentall versions23.0.2.Finalorg.wildfly:wildfly-parent:23.0.2.Final

Affected Products

9 products · 9 configurations
Application
build of quarkusredhat
all
Application
data gridredhat
1 version
8.0
Application
descision managerredhat
1 version
7.0
Application
integration camel kredhat
all
Application
integration camel quarkusredhat
all
Application
integration service registryredhat
all

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.wildfly:wildfly-parent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.wildfly:wildfly-parent to 23.0.2.Final or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-3536 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.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow

This flaw does not affect Red Hat CodeReady Studio 12 because it uses the Wildfly client only. The domain mode is not used.

ProductFixed inAdvisory
EAP 7.3.8wildflyRHSA-2021:2696
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basewildflyRHSA-2021:2755
Red Hat Fuse 7.10wildflyRHSA-2021:5134
Red Hat JBoss Enterprise Application Platformorg.jboss.hal/hal-console:3.3.7.Final-redhat-00001RHSA-2021:3660
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-elytron-web-0:1.6.3-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7eap7-elytron-web-0:1.6.3-1.Final_redhat_00001.1.el7eapRHSA-2021:2693
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 8eap7-elytron-web-0:1.6.3-1.Final_redhat_00001.1.el8eapRHSA-2021:2694
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-wildfly-0:7.4.1-2.GA_redhat_00003.1.el8eapRHSA-2021:3658

Frequently Asked Questions

A flaw was found in Wildfly in versions before 23.0.2.Final while creating a new role in domain mode via the admin console, it is possible to add a payload in the name field, leading to XSS. This affects Confidentiality and Integrity.
O3 Security · Impact-Aware SCA

Is CVE-2021-3536 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2021-3536: wildfly-parent XSS — Fixed in 23.0.2.Final