JPACookieShop
CVE-2025-7938
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid user credentials
-
DeliveryAuthenticate to JPACookieShop
-
ExploitAccess updateGoods endpoint
-
ExecutionSubmit crafted goods modification request
-
PersistBypass authorization check
-
ImpactModify product data without privilege validation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires prior authentication - attacker must possess valid login credentials (username/password) for the JPACookieShop application. The vulnerability is not exploitable against default configurations where unauthenticated access is blocked. The specific condition is that the updateGoods function in GoodsController.java does not validate whether the authenticated user has administrative or goods-modification privileges, allowing any logged-in user to modify goods regardless of their assigned role. Network accessibility to the GoodsController endpoint is also required. The flaw is limited to authenticated scenarios; unauthenticated remote exploitation is not possible. |
| Impact | Despite a critical classification in the vulnerability report, the actual exploitation risk is minimal based on conflicting signals. The CVSS v4.0 vector assigns only 2.1 severity with integrity impact (VI:L) but no confidentiality or availability impact, and EPSS scores this at 0.06 percentile (very low exploitation probability). The requirement for prior authentication (PR:L) significantly limits threat landscape - the attacker must first obtain valid user credentials. While public exploit code exists, the low EPSS suggests this remains a theoretical or niche threat with minimal real-world exploitation. The mismatch between 'critical' classification and CVSS 2.1 score indicates over-classification by the reporting source; this is more accurately a low-severity privilege escalation requiring valid user access. Security teams should prioritize this below vulnerabilities with higher EPSS scores and unauthenticated attack vectors. |
| Exploit ScenarioDerived | An authenticated user with low-privilege account (e.g., regular customer or basic store staff) logs into JPACookieShop and crafts an HTTP request to the updateGoods endpoint, modifying product prices, descriptions, or inventory without the necessary administrative role. Public exploit code on GitHub automates this process, allowing attackers to bypass authorization checks via the unprotected updateGoods function in a remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Authorization bypass in JPACookieShop (蛋糕商城JPA版) version 1.0 allows authenticated remote attackers to modify goods via the updateGoods function in GoodsController.java without proper privilege validation. The vulnerability has public exploit code available but carries low real-world risk due to a CVSS score of 2.1 (EPSS 0.06%), indicating exploitation is unlikely despite authenticated access requirements and public disclosure.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate mitigations include implementing role-based access control (RBAC) validation in the updateGoods method to verify the authenticated user has explicit 'goods_update' or equivalent privilege before processing modification requests, and adding audit logging to track all goods modifications by user ID to detect unauthorized changes. Apply input validation and server-side authorization checks before any state-changing operation in GoodsController. Contact the JPACookieShop maintainer (jerryshensjf) to request a patched version, or consider switching to an actively maintained fork or alternative e-commerce platform if no vendor response is received. Deployment workaround: restrict network access to GoodsController endpoints to trusted administrative networks only, though this does not eliminate the underlying authorization flaw.
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 access. The vulnerability resides in the GoodsController.java file's updateGoods method, which fails to properly validate user authorization before executing goods modification operations. This is classified as CWE-285 (Improper Authorization / Missing Authorization), a common flaw in web applications where access control checks are either absent or insufficient. The attack vector is network-based (AV:N) with low complexity (AC:L), meaning any remote attacker with valid login credentials can trigger the vulnerable function without special conditions.
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:L/UI:N/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 was found in jerryshensjf JPACookieShop 蛋糕商城JPA版 1.0 and classified as critical. This issue affects the function updateGoods of the file GoodsController.java. The manipulation leads to authorization bypass. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Jpacookieshop
View allCross-site request forgery in jerryshensjf JPACookieShop (蛋糕商城JPA版) allows unauthenticated remote attackers to perform u
Reflected cross-site scripting (XSS) in JPACookieShop's GoodsCustController.goodsSearch function allows remote unauthent
Stored cross-site scripting (XSS) in JPACookieShop GoodsController allows authenticated users to inject malicious script
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB