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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
4DescriptionCVE.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
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.
Apply vendor patch. If patching is delayed: implement SameSite cookie attributes and anti-CSRF tokens.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-16740
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB