{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38295","published":"2021-10-14T20:15:09.017000Z","last_modified":"2026-06-17T04:01:49.133000Z","status":"Modified","cvss":{"version":"3.1","score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"couchdb","version_end_excluding":"3.1.2"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/couchdb"],"epss":{"score":0.03731,"percentile":0.90616,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":44,"links":{"html_es":"/es/cve/CVE-2021-38295/","html_en":"/en/cve/CVE-2021-38295/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38295","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38295"},"untrusted":{"vendor_name":"Apache","product_name":"Couchdb","desc_en":"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","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache CouchDB","versions":[]},{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"IBM Cloudant","versions":[]}],"references":[{"url":"https://docs.couchdb.org/en/stable/cve/2021-38295.html","tags":["Vendor Advisory"]}]}}