Skip to main content

Photo Share Website CVE-2026-19211

| EUVDEUVD-2026-54523 MEDIUM
SQL Injection (CWE-89)
2026-08-07 VulDB GHSA-37wh-mr6j-jq3m
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Send crafted HTTP POST to /social/ajax.php?action=signup
  2. Delivery
    Inject SQL payload into email parameter
  3. Exploit
    Bypass absent input validation
  4. Execution
    Manipulate backend SQL query logic
  5. Impact
    Extract or modify database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

No special conditions are required for exploitation. The vulnerable endpoint /social/ajax.php?action=signup is the public-facing registration form, reachable without authentication by any remote user. The CVSS 4.0 vector (PR:N, AC:L, AT:N) confirms no privileges, no complexity, and no specific attack prerequisites. Exploitation is bounded by the database account privileges granted to the PHP application - if the application's database user is restricted to its own schema, the attacker's reach is limited to that schema rather than the full database server. Exploitation requires only that the Photo Share Website instance be network-accessible; local-only deployments are not exposed to this attack path.

Impact

The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) places this at the most accessible end of the exploitation spectrum: remote, unauthenticated, low complexity, no special attack requirements. Impact metrics (VC:L/VI:L/VA:L) are uniformly Low, indicating partial rather than total database compromise, which moderates the overall score to 6.9. The E:P supplemental metric confirms publicly available exploit code, raising real-world urgency beyond what the score alone implies. No EPSS data was provided in the input, so exploitation probability cannot be numerically anchored. The vulnerability is not listed in CISA KEV, so mass active exploitation is not confirmed. However, the educational/hobby nature of SourceCodester applications means deployments are often poorly monitored, unpatched, and internet-facing, making the realistic exploitation barrier lower than for enterprise software. The primary limiting factor is product prevalence - this is a niche application with minimal enterprise footprint.

Exploit ScenarioDerived

An unauthenticated remote attacker sends a crafted HTTP POST request to /social/ajax.php?action=signup with a SQL payload embedded in the email field - for example, a UNION-based injection to extract the database schema or user table contents. Publicly available exploit code referenced at https://github.com/gensnext/cve/issues/3 demonstrates the technique, requiring no prior access or account. The attacker can enumerate, extract, or potentially modify records within the application database in a single request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 07, 2026

SQL injection in SourceCodester Photo Share Website 1.0 exposes the unauthenticated user registration endpoint (/social/ajax.php?action=signup) to database manipulation via the email parameter. The CVSS 4.0 vector confirms network-exploitable with no authentication, no complexity, and no special attack conditions, while the E:P modifier reflects publicly available exploit code hosted on GitHub. No active exploitation is confirmed in CISA KEV, but the combination of a zero-barrier attack surface and public POC code means any internet-exposed instance should be treated as immediately at risk.

RemediationAI

No vendor-released patch has been identified at time of analysis for SourceCodester Photo Share Website 1.0; given the educational distribution model, an official patch may not be forthcoming. The primary fix is to rewrite the email parameter handling in /social/ajax.php to use parameterized queries or prepared statements (e.g., PHP PDO or MySQLi with bound parameters), replacing any direct string interpolation. As an immediate compensating control, restrict or disable public access to the /social/ajax.php?action=signup endpoint via web server configuration (e.g., Apache .htaccess or nginx location block) if public self-registration is not required - note this will break signup functionality. Deploying a WAF rule to detect SQL metacharacters (single quotes, UNION, comment sequences) in POST body parameters provides a secondary layer but can produce false positives on legitimate email addresses containing special characters. If this application is serving production data, migration to a maintained alternative is strongly recommended. VulDB advisory: https://vuldb.com/vuln/386956.

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 vulnerability is a classic SQL Injection (CWE-89) within a PHP web application. The signup handler in /social/ajax.php accepts an email parameter that is concatenated directly into a backend SQL query without parameterization or sanitization, allowing an attacker to alter query logic. The affected product is identified by CPE cpe:2.3:a:sourcecodester:photo_share_website:*:*:*:*:*:*:*:*, distributed by SourceCodester - a platform that publishes open-source PHP applications primarily as academic and learning projects. The wildcard version in the CPE indicates no specific upper bound has been confirmed, suggesting all distributed releases may carry the flaw.

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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.3 HIGH

Unauthenticated public signup endpoint reachable over the network; no complexity or privileges; partial database impact across all three dimensions with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 07, 2026 - 17:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 07, 2026 - 16:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was found in SourceCodester Photo Share Website 1.0. This affects an unknown function of the file /social/ajax.php?action=signup. Performing a manipulation of the argument email results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
niche educational PHP project, minimal production deployment
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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