Skip to content
Fencer Vulns
medium 4.8

CVE-2021-3536 json

Cross-site Scripting in Wildfly

published 2021-05-20 5 y ago modified 2026-09-08 2 mo ago also BIT-wildfly-2021-3536 , EUVD-2021-1193 , GHSA-v2wx-jj66-2hp7

cvss
4.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 45%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.wildfly:wildfly-parent 23.0.2.Final
  • bitnami wildfly 23.0.2
  • redhat wildfly 23.0.2
  • eap7-netty jboss enterprise application platform 7.4, jboss enterprise application platform 7.3 4.1.63-1.Final_redhat_00001.1.el8eap
  • eap7-wildfly jboss enterprise application platform 7.4 7.4.1-2.GA_redhat_00003.1.el8eap
  • eap7-undertow jboss enterprise application platform 7.4 2.2.9-2.SP1_redhat_00001.1.el8eap
  • eap7-velocity jboss enterprise application platform 7.4 2.3.0-1.redhat_00001.1.el8eap
  • eap7-netty-all jboss enterprise application platform 7.4, jboss enterprise application platform 7.3 4.1.63-1.Final_redhat_00001.1.el8eap
  • eap7-jakarta-el jboss enterprise application platform 7.4 3.0.3-2.redhat_00006.1.el8eap
  • eap7-wildfly-elytron jboss enterprise application platform 7.4 1.15.5-1.Final_redhat_00001.1.el8eap
  • eap7-wildfly-modules jboss enterprise application platform 7.4 7.4.1-2.GA_redhat_00003.1.el8eap

red hat advisories RHSA-2021:3658RHSA-2021:3656RHSA-2021:2694RHSA-2021:2692RHSA-2021:2693

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3536 updated cvss 3.5

wildfly: XSS via admin console when creating roles in domain mode

  • Red Hat build of Quarkus wildfly wildfly Red Hat Data Grid 8 wildfly wildfly
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Data Grid 7 wildfly wildfly
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform Expansion Pack wildfly wildfly Red Hat OpenShift Application Runtimes wildfly wildfly
    affected: no fix available
  • Red Hat support for Spring Boot wildfly wildfly
    affected: no fix available “Fix deferred”
  • Red Hat EAP 7.3.8
    fixed: vendor fix RHSA-2021:2696
  • Red Hat EAP-XP 2.0.0 via EAP 7.3.x base
    fixed: vendor fix RHSA-2021:2755
  • Red Hat Fuse 7.10
    fixed: vendor fix RHSA-2021:5134
  • Red Hat JBoss EAP 7.3 for BaseOS-8 eap7-wildfly 7.3.8-1.GA_redhat_00001.1.el8eap, eap7-jberet 1.3.8-1.Final_redhat_00001.1.el8eap, eap7-netty 4.1.63-1.Final_redhat_00001.1.el8eap, eap7-undertow 2.0.38-1.SP1_redhat_00001.1.el8eap, eap7-hibernate 5.3.20-3.SP1_redhat_00001.1.el8eap, eap7-netty-all 4.1.63-1.Final_redhat_00001.1.el8eap, +58 more
    fixed: vendor fix RHSA-2021:2694
show 7 more
  • Red Hat JBoss EAP 7.3 for RHEL 6 Server eap7-wildfly 7.3.8-1.GA_redhat_00001.1.el6eap, eap7-jberet 1.3.8-1.Final_redhat_00001.1.el6eap, eap7-netty 4.1.63-1.Final_redhat_00001.1.el6eap, eap7-undertow 2.0.38-1.SP1_redhat_00001.1.el6eap, eap7-hibernate 5.3.20-3.SP1_redhat_00001.1.el6eap, eap7-netty-all 4.1.63-1.Final_redhat_00001.1.el6eap, +58 more
    fixed: vendor fix RHSA-2021:2692
  • Red Hat JBoss EAP 7.3 for RHEL 7 Server eap7-wildfly 7.3.8-1.GA_redhat_00001.1.el7eap, eap7-jberet 1.3.8-1.Final_redhat_00001.1.el7eap, eap7-netty 4.1.63-1.Final_redhat_00001.1.el7eap, eap7-undertow 2.0.38-1.SP1_redhat_00001.1.el7eap, eap7-hibernate 5.3.20-3.SP1_redhat_00001.1.el7eap, eap7-netty-all 4.1.63-1.Final_redhat_00001.1.el7eap, +60 more
    fixed: vendor fix RHSA-2021:2693
  • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.1-2.GA_redhat_00003.1.el7eap, eap7-wildfly-modules 7.4.1-2.GA_redhat_00003.1.el7eap, eap7-wildfly-javadocs 7.4.1-2.GA_redhat_00003.1.el7eap, eap7-wildfly-java-jdk8 7.4.1-2.GA_redhat_00003.1.el7eap, eap7-wildfly-java-jdk11 7.4.1-2.GA_redhat_00003.1.el7eap
    fixed: vendor fix RHSA-2021:3656
  • Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.1-2.GA_redhat_00003.1.el8eap, eap7-wildfly-modules 7.4.1-2.GA_redhat_00003.1.el8eap, eap7-wildfly-javadocs 7.4.1-2.GA_redhat_00003.1.el8eap
    fixed: vendor fix RHSA-2021:3658
  • Red Hat JBoss Enterprise Application Platform hal-console 3.3.7.Final-redhat-00001
    fixed: vendor fix RHSA-2021:3660
  • Red Hat Single Sign-On 7.4.8
    fixed: vendor fix RHSA-2021:2965
  • Red Hat AMQ Broker 7 wildfly wildfly Red Hat Decision Manager 7 wildfly wildfly Red Hat Integration Camel K 1 wildfly wildfly Red Hat Integration Camel Quarkus 1 wildfly wildfly Red Hat Integration Service Registry wildfly wildfly Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-yasson 1.0.9-1.redhat_00001.1.el7eap, eap7-velocity 2.3.0-1.redhat_00001.1.el7eap, eap7-xalan-j2 2.7.1-36.redhat_00013.1.el7eap, eap7-jakarta-el 3.0.3-2.redhat_00006.1.el7eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el7eap, eap7-netty 4.1.63-1.Final_redhat_00001.1.el7eap, +48 more
    +3 more products
    Red Hat JBoss EAP 7.4 for RHEL 8 eap7-yasson 1.0.9-1.redhat_00001.1.el8eap, eap7-velocity 2.3.0-1.redhat_00001.1.el8eap, eap7-xalan-j2 2.7.1-36.redhat_00013.1.el8eap, eap7-jakarta-el 3.0.3-2.redhat_00006.1.el8eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el8eap, eap7-netty 4.1.63-1.Final_redhat_00001.1.el8eap, +48 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, ms 2.0.0, ms 2.1.2, +1442 more Red Hat Process Automation 7 wildfly wildfly
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 3.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
NVD 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.wildfly:wildfly-parent
<23.0.2.Final
23.0.2.Final
bitnami wildfly
<23.0.2
23.0.2

Affected products

  • n/a wildfly

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.