Skip to main content

Improper Neutralization of Special Elements Used in a Template Engine

CVE-2024-57177

Severity High
Score 7.3/10

Summary

A Host Header Injection vulnerability exists in the package @perfood/couch-auth. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger an SSTI which can be leveraged to run limited commands or leak server-side information.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • LOW
  • LOW

CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine

The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Advisory Timeline

  • Published