# CVE-2021-3536: Cross-site Scripting in Wildfly

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2021-05-20T12:15:09.000Z
- Modified: 2026-09-08T08:48:21.518Z
- Also known as: GHSA-v2wx-jj66-2hp7, BIT-WILDFLY-2021-3536
- Weaknesses: CWE-79
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- wildfly: Wildfly 23.0.2.Final
- org.wildfly:wildfly-parent (Maven): before 23.0.2.Final
- redhat build_of_quarkus: no versions given
- redhat data_grid: 8.0
- redhat descision_manager: 7.0
- redhat integration_camel_k: no versions given
- redhat integration_camel_quarkus: no versions given
- redhat integration_service_registry: no versions given
- redhat jboss_a-mq: 7
- redhat jboss_enterprise_application_platform: 7.0
- redhat wildfly: before 23.0.2
- wildfly (Bitnami): before 23.0.2

## Every score

- GitHub: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: 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`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1948001> (advisory, issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3536> (advisory, web)

## Sources

- CVE List: [CVE-2021-3536](https://www.cve.org/CVERecord?id=CVE-2021-3536), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-v2wx-jj66-2hp7](https://github.com/advisories/GHSA-v2wx-jj66-2hp7), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2021-3536](https://nvd.nist.gov/vuln/detail/CVE-2021-3536), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-WILDFLY-2021-3536](https://osv.dev/vulnerability/BIT-WILDFLY-2021-3536), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3536 · Whole record: https://cve.day/CVE-2021-3536.json · Rebuilt by cve.day 2026-11-25T22:58:01.467Z
