Description
A vulnerability has been found in SourceCodester Photo Share Website 1.0. The impacted element is an unknown function of the file /social/ajax.php?action=save_upload. Such manipulation of the argument img[]/imgName[] leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Published: 2026-08-07
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability exists in the SourceCodester Photo Share Website 1.0 within the ajax.php script that processes images. The flaw allows an attacker to manipulate the img[]/imgName[] parameters to upload files without any type or content validation. Because the application accepts any file and stores it in a web‑accessible directory, the attacker could upload a malicious script or binary that, if executed by the web server, would enable remote code execution. This represents a moderate severity security flaw.

Affected Systems

The affected product is SourceCodester Photo Share Website version 1.0. No other versions are provided in the CNA data, so the issue appears specific to that publicly released version.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is remote and occurs through the /social/ajax.php?action=save_upload endpoint, which can be accessed externally. While the description states that the flaw can be exploited remotely, the exact requirement for successful code execution depends on the server’s configuration; it is inferred that if the uploaded script resides in an executable location, an attacker could execute it. The lack of a KEV listing suggests limited current exploit activity, but the unrestricted upload remains a significant risk.

Generated by OpenCVE AI on August 7, 2026 at 18:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any vendor‑issued patch or upgrade to a newer version of the Photo Share.
  • Restrict the upload endpoint to accept only whitelisted MIME types, such as image/jpeg and image/png, and reject all others.
  • Validate the contents of uploaded files on the server by checking file signatures or using safe‑image libraries, and rename or store them outside the web‑root to prevent execution.
  • Configure the web server to treat the upload directory as non‑executable and enforce strict file‑permission checks.

Generated by OpenCVE AI on August 7, 2026 at 18:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Photo Share Website 1.0. The impacted element is an unknown function of the file /social/ajax.php?action=save_upload. Such manipulation of the argument img[]/imgName[] leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Photo Share Website ajax.php save_upload unrestricted upload
First Time appeared Sourcecodester
Sourcecodester photo Share Website
Weaknesses CWE-284
CWE-434
CPEs cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester photo Share Website
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Sourcecodester Photo Share Website
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-07T18:02:11.202Z

Reserved: 2026-08-07T08:33:56.823Z

Link: CVE-2026-19210

cve-icon Vulnrichment

Updated: 2026-08-07T18:02:07.637Z

cve-icon NVD

Status : Deferred

Published: 2026-08-07T16:17:24.113

Modified: 2026-08-12T21:00:37.147

Link: CVE-2026-19210

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T18:30:03Z

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-434

    Unrestricted Upload of File with Dangerous Type