CVE-2026-3070 Details
Description
A vulnerability was detected in SourceCodester Modern Image Gallery App 1.0. Affected by this vulnerability is an unknown functionality of the file upload.php. The manipulation of the argument filename results in cross site scripting. The attack may be launched remotely. The exploit is now public and may be used.
A stored cross-site scripting vulnerability has been identified in version 1.0 of the SourceCodester Modern Image Gallery App. The issue resides in the upload.php file, where the application fails to properly validate and encode user input through the filename parameter and the file content. This lack of proper sanitization allows attackers to inject and execute malicious scripts, potentially compromising user sessions and sensitive information. The vulnerability can be exploited remotely, requiring user interaction.
It is recommended to implement proper input validation and output encoding for user-supplied data before rendering it in the application. Additionally, consider using a Content Security Policy to restrict the execution of scripts and marking cookies with the HttpOnly flag to protect session information.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tiancesec/CVE/issues/28 | [email protected] | ExploitIssue TrackingMitigationThird Party Advisory |
| https://vuldb.com/?ctiid.347425 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.347425 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.757768 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| remyandrade modern image gallery app | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |