CVE-2024-29833: SVG Upload Component - Stored XSS
- Cve: CVE-2024-29833
- Name: SVG Upload Component - Stored XSS
- Description: The image upload component allows SVG files and the regular expression used to remove script tags can be bypassed by using a Cross Site Scripting payload which does not match the regular expression; one example of this is the inclusion of whitespace within the script tag. An attacker must target an authenticated user with permissions to access this feature, however once uploaded the payload is also accessible to unauthenticated users.
- Impact: Attackers can execute malicious scripts via uploaded SVG files, leading to potential cross-site scripting (XSS) attacks affecting users viewing the SVGs.
- Remediation: Implement a more robust sanitization method for SVG files, such as using a dedicated SVG sanitizer library, and update the regex to effectively block all script tags.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated with access permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00431
- Epss percentile: 0.37814
- Assignee: [email protected]
- Published at: 2024-03-26T16:15:13Z
- Age in days: 973
- Modified at: 2026-06-17T07:23:12Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-29833
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://appcheck-ng.com/xss-vulnerabilities-discovered-10web-photogallery-wordpress-plugin/ | nvd | 2024-03-26 |
References
| Url | Source | Tags |
|---|---|---|
| https://appcheck-ng.com/xss-vulnerabilities-discovered-10web-photogallery-wordpress-plugin/ | nvd | Exploit, Third Party Advisory |
| https://wordpress.org/plugins/photo-gallery/#developers | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| 10web:photo_gallery | < 1.8.22 | no | nvd | /v1/products/10web/photo_gallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-03-26
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1704
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports