JPACookieShop
CVE-2025-8223
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious webpage
-
DeliveryAttacker sends phishing link to admin
-
ExploitAdmin clicks link while authenticated
-
InstallBrowser auto-submits forged request with admin session cookie
-
C2AdminTypeCustController processes unauthorized action
-
ExecuteApplication state is modified (customer records altered/deleted)
-
ImpactAdmin discovers compromise post-incident
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. |
| Exploitation Conditions | Exploitation requires: (1) a victim with an active authenticated admin session in JPACookieShop, (2) user interaction - the victim must visit or click a link to the attacker's page while their admin session is valid, and (3) no additional CSRF tokens or SameSite cookie protections implemented in the application (default unsafe state). The attack is limited to the permissions of the authenticated admin user. Administrative access is not required for the attacker; the attacker only needs to trick an existing admin into visiting a malicious page. The vulnerability affects all commits up to the specified hash, but does not affect users who have implemented Spring Security's CSRF protection or enforce SameSite=Strict cookies. |
| Impact | This is a low-real-world-risk issue despite public exploit availability. The CVSS v4.0 score of 2.1 reflects the requirement for user interaction and limited impact (integrity only, VI:L). The EPSS score of 0.08% at percentile 23 indicates this ranks in the bottom quartile for exploitation probability, contradicting the 'publicly available' POC status - suggesting the POC is proof-of-concept rather than an active exploitation toolkit. The attack requires the victim to be authenticated as an admin and to click a malicious link, significantly reducing practical risk compared to network-unauthenticated attacks. No evidence of active exploitation (KEV status not provided) has been reported. The lack of product versioning (all commits to main branch represent 'current' state) means patch applicability is unclear and suggests this is likely a hobby/demonstration project rather than enterprise software with defined release cycles. |
| Exploit ScenarioDerived | An attacker crafts a malicious webpage or sends a phishing email containing a link to a forged request (e.g., a hidden form that auto-submits or an img tag with a crafted src URL). When a logged-in JPACookieShop admin visits this page, the browser automatically includes their session cookie, allowing the attacker to perform unauthorized actions such as creating, modifying, or deleting customer records through AdminTypeCustController without the admin's knowledge. Public exploit code is available on GitHub demonstrating this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site request forgery in jerryshensjf JPACookieShop (蛋糕商城JPA版) allows unauthenticated remote attackers to perform unauthorized actions via crafted requests to AdminTypeCustController.java, requiring user interaction. The vulnerability has a low CVSS score of 2.1 but public exploit code is available; however, the extremely low EPSS percentile (23%) suggests minimal real-world exploitation despite public disclosure.
RemediationAI
No vendor-released patch identified at time of analysis, as the product does not use semantic versioning and patch status is not documented. The primary remediation is to implement CSRF protections in AdminTypeCustController.java: add CSRF token validation to all state-changing endpoints (POST, PUT, DELETE) using Spring Security's CSRF filter (enabled by default in Spring Boot but must be verified in custom configurations), ensure SameSite=Strict cookie attributes on session cookies, and implement the Spring @EnableWebSecurity with CSRF enabled. Developers should review the public GitHub advisory (https://github.com/Bemcliu/cve-reports/blob/main/cve-06-%E8%9B%8B%E7%B3%95%E5%95%86%E5%9F%8EJPA%E7%89%88-CSRF/readme.md) for specific vulnerable endpoints. If immediate code changes are not feasible, compensating controls include: disable or restrict access to admin panel via IP allowlist (reduces attack surface), implement Content-Security-Policy headers to prevent framing, and enforce multi-factor authentication for admin accounts (mitigates compromised session risk). These controls have moderate operational overhead but significantly reduce CSRF attack feasibility.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JPACookieShop is a Java-based e-commerce platform using JPA (Java Persistence API) for data persistence. The vulnerability exists in AdminTypeCustController.java, a Spring MVC controller handling administrative type customer operations. CWE-352 (Cross-Site Request Forgery) indicates the application fails to implement or properly validate anti-CSRF tokens (such as SameSite cookie attributes, CSRF synchronizer tokens, or double-submit cookies) on state-changing operations. The attack vector is network-based (AV:N) with low attack complexity (AC:L) but requires user interaction (UI:P), typically a victim admin clicking a malicious link while authenticated to the application.
Know when Jpacookieshop 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 NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability, which was classified as problematic, was found in jerryshensjf JPACookieShop 蛋糕商城JPA版 up to 24a15c02b4f75042c9f7f615a3fed2ec1cefb999. This affects an unknown part of the file AdminTypeCustController.java. The manipulation leads to cross-site request forgery. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable.
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.
Affected Products (CPE)CVE.org
More in Jpacookieshop
View allReflected cross-site scripting (XSS) in JPACookieShop's GoodsCustController.goodsSearch function allows remote unauthent
Authorization bypass in JPACookieShop (蛋糕商城JPA版) version 1.0 allows authenticated remote attackers to modify goods via t
Stored cross-site scripting (XSS) in JPACookieShop GoodsController allows authenticated users to inject malicious script
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB