Description
A flaw has been found in SourceCodester Photo Share Website 1.0. The affected element is an unknown function of the file /social/index.php?page=home. This manipulation of the argument Comment causes cross site scripting. The attack may be initiated remotely. The exploit has been published and may be used.
Published: 2026-08-07
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the photo‑sharing website’s home page, where an attacker can manipulate the Comment input to inject malicious scripts. This flaw is a classic reflected XSS, described as CWE‑79, and can also trigger code injection (CWE‑94). Once executed, the injected script runs with the victim’s browser context, potentially allowing cookie theft, session hijacking, defacement, or phishing attempts. The impact is limited to the compromised user’s browser but can be leveraged for credential theft or create a foothold for further social engineering.

Affected Systems

SourceCodester Photo Share Website 1.0 is the only affected product. No other versions or downstream components are listed in the cpe data, and the vendor’s advisory indicates the flaw exists in the single 1.0 release.

Risk and Exploitability

The CVSS score of 5.1 places this vulnerability in the medium severity range. EPSS is not available, but the public exploit exists and can be triggered remotely by supplying a crafted Comment parameter. The flaw is not catalogued in CISA KEV, but the presence of a published exploit means the likelihood of use is non‑trivial. Administrators should treat this as a moderate‑to‑high risk for users who can add content via the home page and should remediate promptly.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • If an official patch or newer release is available, upgrade the SourceCodester Photo Share Website to that version immediately.
  • Implement proper output encoding on the Comment field before rendering it, such as HTML escaping or using a templating engine that auto‑escapes output.
  • Deploy a web application firewall or configure a content security policy that restricts inline scripts and disallows eval, thereby mitigating XSS payload execution.

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 flaw has been found in SourceCodester Photo Share Website 1.0. The affected element is an unknown function of the file /social/index.php?page=home. This manipulation of the argument Comment causes cross site scripting. The attack may be initiated remotely. The exploit has been published and may be used.
Title SourceCodester Photo Share Website index.php home cross site scripting
First Time appeared Sourcecodester
Sourcecodester photo Share Website
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester photo Share Website
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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


Subscriptions

Sourcecodester Photo Share Website
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-07T17:08:46.198Z

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

Link: CVE-2026-19209

cve-icon Vulnrichment

Updated: 2026-08-07T17:08:41.867Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')