{"cve":{"cve_id":"CVE-2021-38295","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.02474,"epss_percentile":0.82459,"epss_as_of":"2026-06-23","description":"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","published_at":"2021-10-14T19:55:12Z","last_modified_at":null,"cvss_v3_score":null,"cvss_v3_vector":null,"cvss_v3_severity":null,"cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":null,"nvd_references":["https://docs.couchdb.org/en/stable/cve/2021-38295.html"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-28T23:16:00.413803Z"},"effective_severity":null,"badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":null,"metrics":[]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"apache-software-foundation","vendor_name":"Apache Software Foundation","product_slug":"apache-couchdb","product_name":"Apache CouchDB","version_start":"Apache CouchDB","version_start_inclusive":true,"version_end":"3.1.2","version_end_inclusive":false,"cpe23_uri":"cve5:apache-software-foundation:apache-couchdb:Apache CouchDB:3.1.2"},{"vendor_slug":"apache-software-foundation","vendor_name":"Apache Software Foundation","product_slug":"ibm-cloudant","product_name":"IBM Cloudant","version_start":"IBM Cloudant","version_start_inclusive":true,"version_end":"8201","version_end_inclusive":false,"cpe23_uri":"cve5:apache-software-foundation:ibm-cloudant:IBM Cloudant:8201"}],"exploit_refs":[],"news":[],"references":[{"url":"https://docs.couchdb.org/en/stable/cve/2021-38295.html","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2021-10-14T19:55:12Z","label":"CVE published","source":null}]}