Description
A vulnerability was identified in SourceCodester Photo Share Website 1.0. This affects an unknown part of the file /social/ajax.php?action=save_upload of the component Comment Input Box. The manipulation of the argument content leads to cross site scripting. The attack may be initiated remotely. The exploit is publicly available and might be used.
Published: 2026-08-07
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A data‑validation flaw in the /social/ajax.php?action=save_upload endpoint of SourceCodester Photo Share Website allows an attacker to inject arbitrary script payloads through the content parameter. This flaw is a classic cross‑site scripting vulnerability (CWE‑79) and also involves unsafe code evaluation (CWE‑94). Because the content field is rendered client‑side without proper encoding, an attacker can execute scripts in the victim’s browser, potentially leading to data theft, session hijacking, or defacement.

Affected Systems

SourceCodester Photo Share Website version 1.0 is affected. The CVE references a comment input box component, and the known product is listed as SourceCodester:Photo Share Website. No sub‑versions are provided, so any instance running 1.0 could be vulnerable if the ajax.php file has not been patched.

Risk and Exploitability

The CVSS score of 5.1 indicates a medium risk. The exploit is publicly available, and the attack can be launched remotely through the web interface. EPSS is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Based on the description, it is inferred that without access controls preventing injection, the flaw could be leveraged by any authenticated or unauthenticated user who can submit content, making the threat surface quite broad.

Generated by OpenCVE AI on August 7, 2026 at 19:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Deploy the latest version of SourceCodester Photo Share Website (v1.x+) that contains the fixed input validation for the content parameter.
  • Implement server‑side sanitization or output encoding for the content field to escape scripts before rendering.
  • Apply a browser‑side Content Security Policy restricting script execution origins.
  • Monitor logs for abnormal activity or attempted XSS attacks.

Generated by OpenCVE AI on August 7, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 20: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 18:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in SourceCodester Photo Share Website 1.0. This affects an unknown part of the file /social/ajax.php?action=save_upload of the component Comment Input Box. The manipulation of the argument content leads to cross site scripting. The attack may be initiated remotely. The exploit is publicly available and might be used.
Title SourceCodester Photo Share Website Comment Input Box ajax.php save_upload 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-07T18:58:22.870Z

Reserved: 2026-08-07T10:40:54.869Z

Link: CVE-2026-19230

cve-icon Vulnrichment

Updated: 2026-08-07T18:58:19.089Z

cve-icon NVD

Status : Deferred

Published: 2026-08-07T19:17:40.650

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

Link: CVE-2026-19230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T20:00:05Z

Weaknesses
  • CWE-79

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

  • CWE-94

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