# CVE-2021-4295: ONC code-validator-api XML CodeValidatorApiConfiguration.java vocabularyValidationConfigurations xml external entity reference

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2022-12-29T08:08:58.553Z
- Modified: 2026-06-17T04:19:26.723Z
- Weaknesses: CWE-611
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in ONC code-validator-api up to 1.0.30. This vulnerability affects the function vocabularyValidationConfigurations of the file src/main/java/org/sitenv/vocabularies/configuration/CodeValidatorApiConfiguration.java of the component XML Handler. The manipulation leads to xml external entity reference. Upgrading to version 1.0.31 is able to address this issue. The name of the patch is fbd8ea121755a2d3d116b13f235bc8b61d8449af. It is recommended to upgrade the affected component. VDB-217018 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- ONC code-validator-api: 1.0.0; 1.0.1; 1.0.2; 1.0.3; 1.0.4; 1.0.5; 1.0.6; 1.0.7; 1.0.8; 1.0.9; 1.0.10; 1.0.11; and 19 more
- healthit code-validator-api: before 1.0.31

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?id.217018> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.217018> (permissions-required, signature, third-party-advisory)
- <https://github.com/onc-healthit/code-validator-api/pull/97> (issue-tracking, third-party-advisory)
- <https://github.com/onc-healthit/code-validator-api/commit/fbd8ea121755a2d3d116b13f235bc8b61d8449af> (patch, third-party-advisory)
- <https://github.com/onc-healthit/code-validator-api/releases/tag/1.0.31> (patch, third-party-advisory)

## Sources

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

---

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