cve.bz

CVE-2021-3536 redhat: Cross-site Scripting

4.8 mediumEPSS 0.5%Fix available

Medium (4.8) in redhat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.wildfly:wildfly-parent 23.0.2.Final.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3536 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3536?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3536?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3536 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:data_grid8.0
redhat:descision_manager7.0
redhat:jboss_a-mq7
redhat:jboss_enterprise_application_platform7.0
redhat:wildflybefore 23.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v2wx-jj66-2hp7Mavenorg.wildfly:wildfly-parent<23.0.2.Final23.0.2.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-elytron-web, eap7-undertow-server0:1.6.3-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-hal-console0:3.2.15-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more0:5.3.20-3.SP1_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-infinispan, eap7-infinispan-core, eap7-infinispan-commons and 6 more0:9.4.23-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.4.33-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jberet, eap7-jberet-core0:1.3.8-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-remoting0:5.0.23-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core and 19 more0:1.7.2-7.Final_redhat_00008.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-netty, eap7-netty-all0:4.1.63-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-undertow0:2.0.38-1.SP1_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs0:7.3.8-1.GA_redhat_00001.1.el6eapRHSA-2021:2692
Red Hatjboss_enterprise_application_platform:7.3::el6eap7-wildfly-elytron, eap7-wildfly-elytron-tool0:1.10.13-1.Final_redhat_00001.1.el6eapRHSA-2021:2692
41 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

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

ProductPackageStateAdvisory
EAP 7.3.8wildflyFixed 2021-07-13RHSA-2021:2696
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basewildflyFixed 2021-07-15RHSA-2021:2755
Red Hat Fuse 7.10wildflyFixed 2021-12-14RHSA-2021:5134
Red Hat JBoss Enterprise Application Platformorg.jboss.hal/hal-console:3.3.7.Final-redhat-00001Fixed 2021-09-23RHSA-2021:3660
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-elytron-web-0:1.6.3-1.Final_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-hal-console-0:3.2.15-1.Final_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-hibernate-0:5.3.20-3.SP1_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-infinispan-0:9.4.23-1.Final_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-ironjacamar-0:1.4.33-1.Final_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6eap7-jberet-0:1.3.8-1.Final_redhat_00001.1.el6eapFixed 2021-07-13RHSA-2021:2692
Red Hat AMQ Broker 7wildflyNot affected
Red Hat build of QuarkuswildflyFix deferred
Red Hat Data Grid 8wildflyFix deferred
Red Hat Decision Manager 7wildflyNot affected
Red Hat Integration Camel K 1wildflyNot affected
Red Hat Integration Camel Quarkus 1wildflyNot affected
Red Hat Integration Service RegistrywildflyNot affected
Red Hat JBoss Data Grid 7wildflyOut of support scope
Red Hat JBoss Enterprise Application Platform Expansion PackwildflyAffected
Red Hat OpenShift Application RuntimeswildflyAffected
38 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3536.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON