# CVE-2021-27736: FusionAuth fusionauth-samlv2 before 0.5.4 allows XXE attacks via a forged AuthnRequest or LogoutRequest because parseFromBytes uses javax.x…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-22T13:14:54.000Z
- Modified: 2026-06-17T03:45:23.327Z
- Weaknesses: CWE-611
- Assigned by: mitre

## Description

FusionAuth fusionauth-samlv2 before 0.5.4 allows XXE attacks via a forged AuthnRequest or LogoutRequest because parseFromBytes uses javax.xml.parsers.DocumentBuilderFactory unsafely.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fusionauth saml_v2: before 0.5.4

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.compass-security.com/fileadmin/Research/Advisories/2021-03_CSNC-2021-004_FusionAuth_SAML_Library_XML_External_Entity.txt> (exploit, third-party-advisory)
- <https://github.com/FusionAuth/fusionauth-samlv2/compare/0.5.3...0.5.4> (patch, third-party-advisory)
- <https://github.com/FusionAuth/fusionauth-samlv2/commit/c66fb689d50010662f705d5b585c6388ce555dbd> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-27736](https://www.cve.org/CVERecord?id=CVE-2021-27736), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-27736](https://nvd.nist.gov/vuln/detail/CVE-2021-27736), Public domain, modified 2026-06-17

---

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