Cross-site Request Forgery (CSRF) Affecting github.com/usememos/memos/plugin/http-getter package, versions <0.15.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSPLUGINHTTPGETTER-5904239
  • published18 Sept 2023
  • disclosed18 Sept 2023
  • creditvictorsch

Introduced: 18 Sep 2023

CVE-2023-5036  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade github.com/usememos/memos/plugin/http-getter to version 0.15.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the /o/get/image?url= endpoint. An attacker can trick the user into making an unintended request to the web application by embedding malicious HTML or JavaScript code in a webpage.

Note: This is only exploitable if the user is authenticated and performs actions based on the forged requests.

References

CVSS Base Scores

version 3.1