CVE-2021-38295Apache Couchdb
High 7.3
Follow: this CVE · Apache · Apache Couchdb We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 7.3
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- Yes
- Published
- Oct 14, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML attachment to a document. If a CouchDB admin opens that attachment in a browser, e.g. via the CouchDB admin interface Fauxton, any JavaScript code embedded in that HTML attachment will be executed within the security context of that admin. A similar route is available with the already deprecated _show and _list functionality. This privilege escalation vulnerability allows an attacker to add or remove data in any database or make configuration changes. This issue affected Apache CouchDB prior to 3.1.2
What to do
- Apply the vendor's security update for Couchdb.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | couchdb | < 3.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- docs.couchdb.org Vendor Advisory