Skip to content
Blog

Memos Stored Cross-Site Scripting Vulnerability (CVE-2025-56761): Medium Severity

memos-Banner-Ucartz
In this article
  1. CVE Details
  2. Affected Products
  3. Current Status
  4. Severity Level
  5. Possible Solutions
  6. References

Memos, a popular open-source note-taking and knowledge management tool, has been identified with a significant security flaw. This vulnerability, tracked as CVE-2025-56761, is a Stored Cross-Site Scripting (XSS) issue that could allow an authenticated attacker to elevate their privileges within the application. Essentially, malicious scripts can be uploaded and stored on the Memos server, executing when an unsuspecting administrator views them. This highlights the critical importance of proper input validation and content type verification in web applications.

CVE Details

This Stored Cross-Site Scripting (XSS) vulnerability was publicly disclosed on September 3, 2025, and its status was last updated on November 7, 2026. The core of the problem lies in Memos’s handling of uploaded files, specifically attachments and user avatars. The application fails to adequately verify the type of content being uploaded, allowing malicious files disguised as legitimate ones to be stored on the server. When an administrator or another user with elevated privileges later views this malicious content, the embedded script can execute, potentially leading to unauthorized actions or data theft within their session.

Affected Products

The Memos version primarily affected by this vulnerability is Memos 0.22.0. Users running this specific version are at risk. It’s crucial for Memos administrators and users to verify their installed version to determine their exposure.

Current Status

As of November 7, 2026, the vulnerability is in an ‘Analyzed’ state. This means the details of the flaw have been thoroughly investigated and confirmed. While the official status indicates analysis, the community often moves quickly to address such issues, especially in open-source projects. It is highly recommended to check the official Memos GitHub repository for the most up-to-date information on patched versions.

Severity Level

CVE-2025-56761 has been assigned a CVSS score of 5.4, classifying it as a Medium severity vulnerability. While not critical, a Medium severity rating indicates that the vulnerability could still lead to significant impact, particularly for an organization’s security posture. An attacker needs to be authenticated to exploit this, meaning they already have some level of access. However, the potential for privilege escalation to an admin level makes this a serious concern, as an attacker could gain full control over the Memos instance.

Possible Solutions

To mitigate the risk posed by CVE-2025-56761, the most effective solution is to update your Memos instance to a version that includes a fix for this issue. Based on the reference URLs pointing to newer versions like v0.24.0 and v0.24.4, it is highly probable that versions beyond 0.22.0 have addressed the content type verification flaw. Always refer to the official Memos project’s release notes and security advisories for definitive patch information.

If immediate patching isn’t possible, consider implementing strict access controls and monitoring for unusual activity related to file uploads and user profiles. However, upgrading remains the primary and most recommended course of action.

References

https://github.com/usememos/memos/blob/v0.24.0/server/router/api/v1/user_service.go#L147

https://github.com/usememos/memos/blob/v0.24.4/server/router/api/v1/resource_service.go#L48

https://www.sonarsource.com/blog/securing-go-applications-with-sonarqube-real-world-examples/

Share
Alex Joseph

Alex Joseph

Alex Joseph is a Senior Support Staff professional with deep experience in server management, web hosting technologies, and cybersecurity operations. He works daily with Linux servers, cloud platforms, performance tuning, and security hardening, giving him strong real-world technical knowledge. Along with his support role, he write about security best practices, hosting infrastructure, and software management.

Related updates

Start Building Today

Ready to Get Started?

VPS, dedicated servers, streaming and managed hosting with 24/7 support from the Ucartz team.