Skip to main content

Photo Share Website CVE-2026-19209

| EUVDEUVD-2026-54509 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-08-07 VulDB GHSA-24ff-3qq5-28jr
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege account on target instance
  2. Delivery
    Submit crafted XSS payload in Comment field at /social/index.php?page=home
  3. Exploit
    Victim authenticated user loads the home page
  4. Execution
    Malicious script executes in victim browser
  5. Impact
    Steal session token or perform action as victim

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

Exploitation requires a valid low-privilege authenticated account on the Photo Share Website instance (PR:L per CVSS 4.0 vector). The attacker must be able to submit a comment on /social/index.php?page=home, meaning the commenting feature must be accessible to their account level. A secondary victim must actively visit or reload the affected page for the injected script to execute (UI:P). No special server configuration is required - the vulnerability exists in the default application code. Limiting factors: an attacker cannot exploit this without first obtaining a valid account; unauthenticated visitors cannot trigger the flaw; the impact is confined to the application's browser context and does not allow server-side code execution or direct database access.

Impact

The CVSS 4.0 base score of 2.0 places this firmly in the low-severity tier, driven by PR:L (authenticated attacker), UI:P (victim interaction required), and impact limited to integrity (VI:L) with no confidentiality or availability impact. The E:P supplemental metric confirms a publicly available exploit, which marginally elevates real-world concern over a theoretical flaw. However, the absence of a KEV listing and the niche, non-enterprise nature of the product (a free SourceCodester educational PHP script) keep practical risk very low. EPSS data was not provided; given the product's obscure deployment footprint, exploitation probability in production environments is expected to be negligible. There is no conflict between the CVSS vector and the description - both consistently indicate a low-impact, authenticated, user-interaction-dependent XSS. This is not a priority for most security programs but warrants remediation for any organization knowingly running this application in a multi-user context.

Exploit ScenarioDerived

An authenticated low-privilege user submits a comment containing a crafted JavaScript payload (e.g., an image onerror or script tag) through the Comment field on /social/index.php?page=home. When another authenticated user visits the home page and the comment is rendered without encoding, the injected script executes in the victim's browser, potentially stealing session cookies or redirecting the victim to an attacker-controlled phishing site. A publicly available proof-of-concept on GitHub (gensnext/cve/issues/1) demonstrates this technique, lowering the bar for exploitation.

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

Stored or reflected cross-site scripting in SourceCodester Photo Share Website 1.0 enables remote authenticated attackers to inject arbitrary JavaScript via the Comment argument at /social/index.php?page=home, executing in the browsers of other users who view the affected page. A publicly available proof-of-concept exploit exists on GitHub (gensnext/cve/issues/1), though the vulnerability carries a low CVSS 4.0 score of 2.0 and is not listed in the CISA KEV catalog, indicating no confirmed widespread active exploitation. Practical impact is limited to session hijacking, phishing redirection, or DOM manipulation within the application context of other authenticated users.

RemediationAI

No vendor-released patch has been identified at time of analysis for SourceCodester Photo Share Website. The primary recommended fix is to apply proper output encoding to all user-supplied data rendered in HTML context - specifically, PHP's htmlspecialchars() or htmlentities() functions should be applied to the Comment field value before it is written to the page response in /social/index.php. As a compensating control, operators can deploy a Web Application Firewall (WAF) rule to block common XSS payloads in the Comment parameter, though WAF bypass techniques exist and this is not a substitute for source-level fixing. Implementing a Content Security Policy (CSP) header restricting inline script execution would significantly reduce the exploitability of any remaining XSS vectors. Organizations using this application in production should evaluate whether the product can be replaced with an actively maintained alternative, given the absence of a formal security support posture from the vendor. References: VulDB entry https://vuldb.com/vuln/386954, POC https://github.com/gensnext/cve/issues/1.

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 product is SourceCodester Photo Share Website 1.0, a PHP-based social photo-sharing web application (CPE: cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting), meaning the application fails to sanitize or encode user-supplied input in the Comment field before rendering it in the HTML response. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms the vulnerability is network-reachable, requires a low-privilege authenticated user to submit the payload, and requires passive victim interaction for triggering - consistent with a stored or reflected XSS pattern where a second user must load the page. No server-side output encoding or Content Security Policy defense appears to be in place.

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-reachable XSS requiring low-privilege auth (PR:L) and victim page-load (UI:R); scope change to victim browser context justifies S:C with limited C:L/I:L 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 - 16:22 NVD
MEDIUM LOW
CVSS changed
Aug 07, 2026 - 16:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 07, 2026 - 15:45 cve.org
LOW 2.0

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Rare
Free educational PHP script, negligible enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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