# CVE-2021-39181: Unsafe Deserialization of User Data Using XStream

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.91%, higher than 80% of CVEs (2026-12-01)
- Published: 2021-09-01T19:45:11.000Z
- Modified: 2026-06-17T04:03:15.790Z
- Weaknesses: CWE-91
- Assigned by: GitHub_M

## Description

OpenOlat is a web-based learning management system (LMS). Prior to version 15.3.18, 15.5.3, and 16.0.0, using a prepared import XML file (e.g. a course) any class on the Java classpath can be instantiated, including spring AOP bean factories. This can be used to execute code arbitrary code by the attacker. The attack requires an OpenOlat user account with the authoring role. It can not be exploited by unregistered users. The problem is fixed in versions 15.3.18, 15.5.3, and 16.0.0. There are no known workarounds aside from upgrading.

(As written by CVE List.)

## Affected

- OpenOLAT OpenOLAT: < 15.3.18; >= 15.4.0, < 15.5.3
- frentix openolat: before 15.3.18; from 15.5.0 before 15.5.3

## Every score

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

## References

- <https://github.com/OpenOLAT/OpenOLAT/security/advisories/GHSA-596v-3gwh-2m9w> (third-party-advisory)
- <https://github.com/OpenOLAT/OpenOLAT/commit/3f219ac457afde82e3be57bc614352ab92c05684> (patch, third-party-advisory)
- <https://jira.openolat.org/browse/OO-5548> (permissions-required)

## Sources

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

---

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