Skip to main content

Photo Share Website CVE-2026-19230

| EUVDEUVD-2026-54572 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-08-07 VulDB GHSA-395c-4p59-c3px
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register low-privilege account on target site
  2. Delivery
    Craft XSS payload in comment content field
  3. Exploit
    Submit POST to /social/ajax.php?action=save_upload
  4. Execution
    Payload stored or reflected in comment output
  5. Persist
    Victim user views page with injected comment
  6. Impact
    Malicious script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold a low-privilege authenticated account on the target Photo Share Website instance (confirmed by PR:L in the CVSS 4.0 vector) - unauthenticated exploitation is not supported by the available data. A victim user must also actively view the page containing the injected comment (UI:P), meaning fully automated, zero-interaction exploitation is not possible. The application must be network-accessible (AV:N). No special server-side configuration or non-default settings are required beyond a standard deployment of Photo Share Website 1.0 with comment functionality enabled. Exploitation is limited by the dual requirement of attacker authentication and victim interaction - organizations that restrict account registration to trusted users significantly reduce attack surface.

Impact

The CVSS 4.0 score of 5.1 (Medium) is a reasonable characterization of real-world risk. Attack vector is network (AV:N) with low complexity (AC:L) and no special attack requirements (AT:N), meaning no environmental preconditions beyond a reachable web deployment are needed. However, the requirement for low privilege (PR:L) and passive victim interaction (UI:P) prevents unauthenticated or fully automated mass exploitation, meaningfully reducing blast radius compared to a PR:N/UI:N XSS. There is no CISA KEV listing, so confirmed active exploitation is not established. The E:P modifier in the CVSS 4.0 vector confirms publicly available exploit code, which aligns with the GitHub proof-of-concept reference - this is a distinct signal from confirmed active exploitation and should be weighed accordingly. EPSS data is not provided; exploitation probability cannot be independently assessed. The impact is scoped to integrity of the vulnerable system (VI:L) per the 4.0 vector, consistent with XSS enabling UI manipulation and potential session theft in victim browsers. Given the application's predominant use in educational contexts, production deployment footprint is likely limited, further containing aggregate risk.

Exploit ScenarioDerived

An attacker registers a low-privilege account on an internet-accessible Photo Share Website 1.0 instance and submits a comment containing a crafted JavaScript payload (e.g., a cookie-stealing script) in the content field to /social/ajax.php?action=save_upload. When an administrator or other authenticated user subsequently views the page displaying that comment, the injected script executes in their browser, potentially exfiltrating their session token to an attacker-controlled endpoint. A proof-of-concept demonstrating this technique is publicly available at https://github.com/Andyov0/cve/issues/1.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 07, 2026

Cross-site scripting in SourceCodester Photo Share Website 1.0 allows a low-privileged authenticated attacker to inject malicious JavaScript via the content parameter of the comment input box at /social/ajax.php?action=save_upload, executing arbitrary script in the browsers of users who subsequently view the injected content. The CVSS 4.0 vector (PR:L/UI:P) confirms exploitation requires an authenticated session and victim interaction, constraining opportunistic mass exploitation. No public exploit identified at time of analysis is incorrect here - publicly available exploit code exists, referenced via a GitHub issue (https://github.com/Andyov0/cve/issues/1), meaningfully elevating near-term risk for any reachable deployment.

RemediationAI

No vendor-released patch has been identified at time of analysis. The immediate code-level fix is to apply proper output encoding to the content parameter before rendering it in any HTML context - in PHP, applying htmlspecialchars($content, ENT_QUOTES, 'UTF-8') at the point of output in the comment rendering logic within or downstream of /social/ajax.php?action=save_upload would neutralize the injection. As a compensating control, deploying a Web Application Firewall rule targeting script injection patterns (e.g., <script>, onerror=, javascript:) in the content POST parameter to this endpoint can reduce exposure, though WAF rules introduce bypass risk via encoding variants and require ongoing maintenance. Restricting comment submission to verified or higher-trust user roles reduces attacker opportunity surface if the application's user model supports role tiers. Monitor the VulDB advisory at https://vuldb.com/vuln/386994 and the exploit reference at https://github.com/Andyov0/cve/issues/1 for any upstream patch release. Given the absence of an active upstream patch and the application's educational-project nature, production operators should strongly consider replacing the component with a maintained alternative.

Affected VersionsENISA

Photo Share Website 1.0

Affected Packages

euvd photo_share_website no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected application is a PHP-based social photo-sharing platform developed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*). The vulnerable endpoint /social/ajax.php?action=save_upload processes comment submissions through the content POST parameter. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): user-supplied input is insufficiently sanitized or HTML-encoded before being embedded into rendered page output, allowing script injection payloads to execute in victim browsers. The wildcard version in the CPE string suggests all known versions are potentially affected, with 1.0 explicitly confirmed. SourceCodester distributes this application as a downloadable PHP project primarily for educational and demonstration use.

Know when Photo Share Website gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Network-delivered XSS requiring low-privilege comment submission and victim page view; scope changes to victim browser context enabling script execution with limited C and I impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 07, 2026 - 19:22 NVD
MEDIUM LOW
CVSS changed
Aug 07, 2026 - 19:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 07, 2026 - 18:15 cve.org
MEDIUM 5.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Rare
educational PHP demo project, negligible production enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy