All vulnerabilities

Servers and applications

CVE-2021-38295

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…

Severity
High 7.3
Published
14 Oct 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.2
Sources
NVD

Affected software

SoftwareAffected versions
Apache CouchDBServers and applications · cpe:a:apache:couchdb
  • Every version before 3.1.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-38295
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-38295