Security mailing lists by PureSourceCode

CVE-2021-23784

MEDIUM 6.1CVSS 3.1

Cross-site Scripting in tempura

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.

Published
3 Nov 2021
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-w4v7-hwx7-9929SNYK-JS-TEMPURA-1569633
Sources
NVDJSONOSV GHSA-w4v7-hwx7-9929JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tempura_project tempura
cpe:2.3:a:tempura_project:tempura:*:*:*:*:*:*:*:*
< 0.4.0 0.4.0
OSV npm tempura < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 3 Nov 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.