{"id":"CVE-2020-15135","aliases":["EUVD-2020-0650","GHSA-wwrj-35w6-77ff"],"status":"published","title":"CSRF vulnerability in save-server","description":"save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00722,"percentile":0.54312,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2020-08-04T14:54:08Z","modified":"2026-11-09T10:45:08Z","fixes":[{"ecosystem":"npm","package":"save-server","fixed_in":["1.0.5","1.0.7"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"save-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"npm","package":"save-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.7"}]}]}],"products":[{"vendor":"neztore","product":"save-server"},{"vendor":"save-server_project","product":"save-server"}],"references":[{"url":"https://github.com/Neztore/save-server/security/advisories/GHSA-wwrj-35w6-77ff","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://www.npmjs.com/package/save-server","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15135","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wwrj-35w6-77ff"}],"sources":{"cve":[{"id":"CVE-2020-15135","title":"CSRF vulnerability in save-server","description":"save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.","status":"published","published":"2020-08-04T20:25:14Z","modified":"2024-08-04T13:08:22.257Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:35:50.228781Z"}],"euvd":[{"id":"EUVD-2020-0650","description":"save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.","status":"published","published":"2020-08-04T20:25:14Z","modified":"2024-08-04T13:08:22Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"updated_at":"2026-11-03T03:07:32.55679Z"}],"ghsa":[{"id":"GHSA-wwrj-35w6-77ff","title":"CSRF vulnerability in save-server","description":"### Impact\nVersions prior to version v1.05 are affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version v1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version.\n\nThis is patched by implementing [Double submit](https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f).\n\nThe CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including:\n- Upload file\n- Delete file\n- Add redirect\n\n\n#### If you are logged in as root, this attack is significantly more severe. They can (in addition to the above):\n- Create users\n- Delete users\n- Update users (change password)\n\nIf they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password.\n\nNote that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. \n### Patches\nThis issue has been patched. Update to version v1.0.7 or above to benefit from this fix.\n\n### Workarounds\nNone. You should upgrade.\n\n### References\nWhat is CSRF: https://owasp.org/www-community/attacks/csrf\nFix type: https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Save-server](https://github.com/Neztore/save-server/)\n* Email us at [hi@nezto.re](mailto:hi@nezto.re)\n* Join our discord (preferred): [Invite](https://discord.gg/QevWabU) ","status":"published","published":"2020-08-04T14:54:08Z","modified":"2023-01-09T05:03:47Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:36:06.317379Z"}],"nvd":[{"id":"CVE-2020-15135","description":"save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.","status":"published","published":"2020-08-04T21:15:14.953Z","modified":"2026-06-17T02:56:07.223Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:06:10.994748Z"}],"osv":[{"id":"CVE-2020-15135","description":"save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including uploading/deleting files and adding redirects. If you are logged in as root, this attack is significantly more severe. They can in addition create, delete and update users. If they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password. Note that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. This issue has been patched in version 1.0.7.","status":"published","published":"2020-08-04T21:15:14.953Z","modified":"2026-11-10T02:30:42.15742587Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-09T10:53:57.550641Z"},{"id":"GHSA-wwrj-35w6-77ff","title":"CSRF vulnerability in save-server","description":"### Impact\nVersions prior to version v1.05 are affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version v1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version.\n\nThis is patched by implementing [Double submit](https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f).\n\nThe CSRF attack would require you to navigate to a malicious site while you have an active session with Save-Server (Session key stored in cookies). The malicious user would then be able to perform some actions, including:\n- Upload file\n- Delete file\n- Add redirect\n\n\n#### If you are logged in as root, this attack is significantly more severe. They can (in addition to the above):\n- Create users\n- Delete users\n- Update users (change password)\n\nIf they updated the password of a user, that user's files would then be available. If the root password is updated, all files would be visible if they logged in with the new password.\n\nNote that due to the same origin policy malicious actors cannot view the gallery or the response of any of the methods, nor be sure they succeeded. \n### Patches\nThis issue has been patched. Update to version v1.0.7 or above to benefit from this fix.\n\n### Workarounds\nNone. You should upgrade.\n\n### References\nWhat is CSRF: https://owasp.org/www-community/attacks/csrf\nFix type: https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Save-server](https://github.com/Neztore/save-server/)\n* Email us at [hi@nezto.re](mailto:hi@nezto.re)\n* Join our discord (preferred): [Invite](https://discord.gg/QevWabU) ","status":"published","published":"2020-08-04T14:54:08Z","modified":"2026-09-10T03:48:52.410948526Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:59.131095Z"}]}}
