7.3

CVE-2021-38295: apache software foundation apache couchdb Cross-site Scripting

CVSS: 7.3v3.1HighModified
AliasesMGASA-2021-0520UBUNTU-CVE-2021-38295
Published 14-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-38295 is a high (CVSS 7.3) Cross-site Scripting vulnerability in apache software foundation apache couchdb. EPSS estimates a 2.75% chance of exploitation in the next 30 days, higher than 85.9% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.3/10
010
High · v3.1 (NVD)
EPSS score
2.75%
0%100%
Low · +0.24 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 14-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

2.75%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

+0.24 pp

From 2.51% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.75%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache software foundation2 products
Apache1 product
Mageia1 product
  • couchdb< 3.1.2-1.mga8
Ubuntu1 product
  • couchdbAll versions (No fix recorded)

4 vendors · 5 products

References

6 links