Skip to main content

Diary App CVE-2026-4968

| EUVDEUVD-2026-16740 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-03-27 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Impact

The CVSS 4.0 score of 5.3 reflects moderate severity, with the vector indicating network accessibility, low complexity, no authentication required, but crucially requiring user interaction (UI:P). The exploitation probability (E:P) is rated as Probable, elevating concern. However, multiple risk signals require synthesis: (1) POC availability exists but this does NOT constitute active exploitation (KEV status not provided); (2) CVSS impact is limited to integrity (VI:L) with no confidentiality or availability impact; (3) user interaction is mandatory, reducing automation potential; (4) the affected product is SourceCodester Diary App 1.0, a relatively niche PHP application without indication of widespread deployment in critical infrastructure. Real-world priority depends on deployment scope-for publicly accessible diary instances, user-interaction-dependent CSRF is a meaningful risk; for internal or single-user deployments, risk is substantially lower. This is a genuine but not critical priority vulnerability: patch if feasible, but lower than higher-impact or zero-interaction flaws.

Exploit ScenarioDerived

An attacker crafts a malicious HTML page containing an embedded form or JavaScript that submits a request to the victim's diary.php file (e.g., to add, modify, or delete diary entries). When a logged-in user visits the attacker's page in the same browser session, the user's session cookies are automatically sent with the malicious request, allowing the attacker to perform unauthorized actions on behalf of the user. For example, a phishing email could direct a user to a seemingly innocent webpage that silently modifies or deletes their diary entries. Publicly available exploit code (referenced via the Gist link) documents this attack vector, reducing the technical barrier for potential attackers.

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

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

Alert me

AnalysisAIv1 – Mar 27, 2026

Cross-site request forgery (CSRF) in SourceCodester Diary App 1.0 allows unauthenticated remote attackers to manipulate an unknown function within diary.php, potentially leading to unauthorized state-changing actions. The vulnerability has a moderate CVSS score of 5.3 with user interaction required, and publicly available exploit code exists, though active exploitation status is unconfirmed. An attacker could craft malicious web pages to trick users into performing unwanted actions within the application.

RemediationAI

Contact SourceCodester or check https://www.sourcecodester.com/ for a patched version of Diary App, as no specific fixed version number is documented in the provided intelligence. As a temporary mitigation pending a vendor patch, implement anti-CSRF protections: ensure the application generates and validates unique CSRF tokens on all state-changing operations (POST, PUT, DELETE), enforce SameSite=Strict or SameSite=Lax cookie attributes, and validate the Origin and Referer HTTP headers. Additionally, deploy a Web Application Firewall (WAF) configured to detect and block common CSRF attack patterns. If the application is publicly accessible, restrict access to authenticated users only and educate users not to follow untrusted links while logged into the application. For development environments or instances not requiring public availability, consider running the application behind a reverse proxy that enforces additional CSRF protections.

Affected VersionsENISA

Diary App 1.0

Affected Packages

euvd diary_app 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 rooted in CWE-352 (Cross-Site Request Forgery), a well-documented class of web application flaws where an application fails to validate or enforce CSRF tokens on state-changing operations. SourceCodester Diary App 1.0 is a PHP-based web application (CPE: cpe:2.3:a:sourcecodester:diary_app:*:*:*:*:*:*:*:*) where the affected diary.php file processes requests without sufficient CSRF protections. The vulnerability exists in an unidentified function within this file, suggesting that input validation and anti-CSRF mechanisms (such as token generation, validation, or SameSite cookie attributes) are either absent or improperly implemented. The attack vector is network-based with low complexity and no privilege requirements, indicating the flaw can be exploited from any network location without prior authentication or special system access.

Know when Diary App 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.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 27, 2026 - 17:41 nvd
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was determined in SourceCodester Diary App 1.0. The affected element is an unknown function of the file diary.php. Executing a manipulation can lead to cross-site request forgery. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Executive ViewAI

Why It Matters

Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4968, a cross-site request forgery vulnerability rated CVSS 5.3. Users could be tricked into performing unintended actions. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement SameSite cookie attributes and anti-CSRF tokens.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
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.0%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
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 Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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