XSS in Tempura Project

CVE-2021-23784

This affects the package tempura before 0.4.0. If the input to the esc function is of type object (i.e an array) it is returned without being escaped/sanitized, leading to a potential Cross-Site Scripting vulnerability.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.012 (66.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • report@snyk.io (Exploit, Patch, VDB Entry, Third Party Advisory, x_refsource_MISC, Mitigation)
  • report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
  • report@snyk.io (Third Party Advisory, x_refsource_MISC, Release Notes)

Frequently asked questions

What is CVE-2021-23784?
CVE-2021-23784 is a medium-severity vulnerability in Tempura Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-11-03.
How severe is CVE-2021-23784?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2021-23784 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.