# CVE-2021-41042: XML External Entity Reference in Eclipse Lyo

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-07T20:55:10.000Z
- Modified: 2026-06-17T04:07:47.823Z
- Also known as: GHSA-6296-mvgp-27hp
- Weaknesses: CWE-611
- Assigned by: eclipse

## Description

In Eclipse Lyo versions 1.0.0 to 4.1.0, a TransformerFactory is initialized with the defaults that do not restrict DTD loading when working with RDF/XML. This allows an attacker to cause an external DTD to be retrieved.

(As written by CVE List.)

## Affected

- The Eclipse Foundation Eclipse Lyo: from 1.0.0 before unspecified; from unspecified up to 4.1.0
- org.eclipse.lyo:lyo-parent (Maven): from 1.0.0 before 5.0.0.Final
- eclipse lyo: from 1.0.0 up to 4.1.0

## Every score

- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://gitlab.eclipse.org/eclipsefdn/emo-team/emo/-/issues/287> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41042> (advisory)
- <https://github.com/eclipse/lyo/commit/a8b15b7f49ca15e55f6699749c39705d21367c6e> (web)
- <https://github.com/eclipse/lyo> (web)
- <https://github.com/eclipse/lyo/releases/tag/v5.0.0> (web)

## Sources

- CVE List: [CVE-2021-41042](https://www.cve.org/CVERecord?id=CVE-2021-41042), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6296-mvgp-27hp](https://github.com/advisories/GHSA-6296-mvgp-27hp), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2021-41042](https://nvd.nist.gov/vuln/detail/CVE-2021-41042), Public domain, modified 2026-06-17

---

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