Sceawere

Vulnerability Detail

CVE-2026-19230UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Photo Share Stored Cross-Site Scripting

Vulnerability Metadata

Severity
Low
Score / CVSS
3.5
Creation Date
18h ago
Vendor
SourceCodester
Product
Photo Share Website
Attack Type
Cross Site Scripting
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Attack Complexity
LOW

Narrative and Response

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.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "3.5",
  "pubDate": "2026-08-07T19:17:40.650Z",
  "pubdate": "2026-08-07T19:17:40.650Z",
  "executiveSummary": "A security vulnerability has been identified in SourceCodester Photo Share Website 1.0, specifically within the Comment Input Box component. The weakness stems from improper input validation and output encoding of user-supplied data submitted to the /social/ajax.php?action=save_upload endpoint. Specifically, manipulation of the content argument allows an unauthenticated or authenticated remote attacker to inject arbitrary malicious scripts, most commonly JavaScript, into the application context. This results in a Cross-Site Scripting (XSS) vulnerability.\nWhen a victim views the affected web page containing the unsanitized comment content, the injected payload executes within the context of their browser session. The potential impact of this exploitation includes the theft of session cookies, session hijacking, redirection of users to malicious external sites, and unauthorized actions performed on behalf of the victim. Given that exploit code is publicly available and the attack vector is accessible remotely over the network, the overall risk posture is significant. Exploitation requires no advanced privileges, allowing threat actors to leverage existing public exploits to compromise vulnerable instances of the Photo Share Website application.",
  "technicalDetails": "The vulnerability is rooted in the Comment Input Box component of SourceCodester Photo Share Website 1.0, specifically impacting the server-side processing script located at /social/ajax.php when invoked with the action=save_upload parameter. The root cause of the issue is the lack of proper input sanitization, contextual output encoding, and filtering on the content HTTP POST or GET argument. Because the application fails to neutralize dangerous characters such as angle brackets (< and >) and quotation marks, user-supplied input is directly accepted and persisted into the database or rendered back to the user interface without adequate neutralization.\nThe attack flow proceeds as follows: A remote attacker crafts a malicious payload containing executable JavaScript encapsulated within HTML tags, such as <script>alert(document.domain)</script> or equivalent event handler vectors (e.g., onerror, onload), assigned to the content parameter. The attacker then transmits this payload via an HTTP request to the vulnerable endpoint /social/ajax.php?action=save_upload. The server processes the request and stores the malicious string as part of the comment data associated with a photo upload without performing necessary security transformations.\nSubsequently, when any user—including administrative accounts or standard platform users—requests the web page that displays the stored comment, the web application reflects the unsanitized content back into the Document Object Model (DOM). The victim's browser interprets the injected string as executable code rather than plain text, triggering the script execution. Because the script executes inside the security context of the victim's session, the attacker can access sensitive browser storage, extract session identifiers, manipulate page content, or perform unauthorized state-changing operations via asynchronous JavaScript requests.\nThe vulnerability is exposed directly over the network via standard HTTP/HTTPS protocols. It requires no specialized privileges to initiate if the comment submission mechanism is publicly accessible, and the availability of publicly disclosed exploit PoCs lowers the barrier to entry for potential threat actors. Post-exploitation impact primarily centers on client-side compromise, leading to session takeover and potential escalation of privileges depending on the target user's role."
}
CVE-2026-19230: Photo Share Stored Cross-Site Scripting (LOW Severity, CVSS: 3.5) - Sceawere