CVE-2026-3070 SourceCodester Modern Image Gallery App upload.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can execute arbitrary scripts via the filename argument in upload.php, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-3070?

CVE-2026-3070 is a medium-severity cross-site scripting vulnerability in SourceCodester Modern Image Gallery App, published on 24 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-3070?

It affects 1 product.

Products include Remyandrade Modern Image Gallery App.

How do I fix CVE-2026-3070?

No fix has been published for CVE-2026-3070 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-3070 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-3070 exists.

Sources

Also known as GHSA-cxmx-5wwh-7p77.

Is CVE-2026-3070 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free