CVE-2020-15135
JavaScript vulnerability analysis and mitigation

Overview

A CSRF (Cross-Site Request Forgery) vulnerability was discovered in save-server (npm package) versions before 1.05, identified as CVE-2020-15135. The vulnerability stems from the absence of CSRF mitigation mechanisms such as tokens. While version 1.05 introduced a fix, it inadvertently broke the upload functionality, making version 1.0.7 the first fully patched version (GitHub Advisory).

Technical details

The vulnerability exists due to the lack of CSRF protection mechanisms in the application. The issue specifically relates to missing token validation, which should prevent unauthorized cross-site requests. The fix implemented in version 1.0.7 uses the Double Submit Cookie Pattern, where a random value is sent in both a cookie and as a request parameter, with the server verifying if the cookie value and request value are equal (CSRF Pattern).

Impact

The vulnerability allows an attacker to perform unauthorized actions if a user with an active session visits a malicious website. For regular users, the attacker could upload files, delete files, and add redirects. For root users, the impact is more severe, allowing attackers to create users, delete users, and update user passwords. If an attacker updates a user's password, they could gain access to that user's files. If the root password is updated, all files would become accessible to the attacker (GitHub Advisory).

Exploitability

The CSRF attack requires the victim to have an active session with Save-Server (session key stored in cookies) while visiting a malicious website. Due to same-origin policy restrictions, attackers cannot view the gallery or the response of any methods, nor confirm if their attacks succeeded (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to version 1.0.7 or later, which implements the Double Submit Cookie Pattern as a CSRF mitigation measure. There are no alternative workarounds available; upgrading is the only recommended solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54155HIGH7.7
  • JavaScript logoJavaScript
  • node-opcua
NoNoAug 20, 2026
CVE-2026-54156HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 20, 2026
CVE-2026-55451MEDIUM6.9
  • JavaScript logoJavaScript
  • gettext-converter
NoYesAug 20, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesAug 20, 2026
GHSA-ghvf-qf6h-g8x5HIGHN/A
  • JavaScript logoJavaScript
  • @nocobase/server
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management