CVE-2026-19230
Received Received - Intake

Cross-Site Scripting in Photo Share Website 1.0

Vulnerability report for CVE-2026-19230, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-07

Last updated on: 2026-08-07

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-07
Last Modified
2026-08-07
Generated
2026-08-07
AI Q&A
2026-08-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester photo_share_website 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in Photo Share Website 1.0. It allows attackers to inject malicious scripts via the 'content' parameter in the /social/ajax.php?action=save_upload file. The injected scripts are stored in the database and executed when users view the affected pages.

Detection Guidance

To detect this vulnerability, inspect the /social/ajax.php?action=save_upload endpoint for improper input sanitization in the 'content' parameter. Test by submitting a payload like <script>alert(1)</script> in a comment field and check if it executes when the page reloads.

Impact Analysis

An attacker could steal session tokens, access sensitive data, or perform actions on your behalf. Users viewing infected pages may have their browsers compromised, leading to privacy breaches or unauthorized account access.

Compliance Impact

This vulnerability could lead to unauthorized data access or disclosure, violating GDPR's data protection principles and HIPAA's security requirements. Organizations may face fines or legal consequences for failing to protect user data.

Mitigation Strategies

Immediately sanitize user input in the 'content' parameter before saving to the database. Implement strict input validation to block or escape HTML/script tags. Update the application to use prepared statements if interacting with a database.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19230. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart