VulnerabilityModified
CVE-2021-23784
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.
MEDIUM 6.1EPSS 1.26%
Does this matter?
Lower severity and a low EPSS score (1.26%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.26% probability · 68th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- tempura project/tempura
- Source
- report@snyk.io
References
- https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9bPatch, Third Party Advisory
- https://github.com/lukeed/tempura/releases/tag/v0.4.0Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
- https://github.com/lukeed/tempura/commit/58a5c3671e2f36b26810e77ead9e0dd471902f9bPatch, Third Party Advisory
- https://github.com/lukeed/tempura/releases/tag/v0.4.0Release Notes, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TEMPURA-1569633Exploit, Mitigation, Patch, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.