Cross-site Request Forgery (CSRF) Affecting tiny-csrf package, versions <1.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-TINYCSRF-3041947
  • published 9 Oct 2022
  • disclosed 7 Oct 2022
  • credit Unknown

How to fix?

Upgrade tiny-csrf to version 1.1.0 or higher.

Overview

tiny-csrf is a tiny csrf library meant to replace csurf.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) in index.js, due to weak encryption of CSRF tokens.

References

CVSS Scores

version 3.1
Expand this section

Snyk

7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

6.5 medium