CVE-2025-8222: jerryshensjf JPACookieShop 蛋糕商城JPA版 · Cross Site Scripting
Affects jerryshensjf JPACookieShop 蛋糕商城JPA版Source CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
1. Immediate code review and sanitization: Developers should audit the GoodsController.java and all affected endpoints to ensure proper input validation and output encoding, especially for user-controllable parameters. Employ context-aware encoding libraries to prevent script injection. 2. Implement Content Security Policy (CSP): Deploy strict CSP headers to restrict execution of unauthorized scripts and reduce the impact of XSS attacks. 3. Update and patch management: Monitor the vendor's rolling releases closely and apply updates promptly once patches addressing this vulnerability are available. 4. Web Application Firewall (WAF): Configure WAF rules to detect and block common XSS attack patterns targeting the affected endpoints. 5. User awareness: Educate users about phishing risks and encourage cautious behavior when clicking on links or interacting with suspicious content. 6. Security testing: Incorporate automated and manual penetration testing focusing on XSS vectors in the development lifecycle to detect similar issues early. 7. Session management: Implement HttpOnly and Secure flags on cookies to mitigate session hijacking risks from XSS.
Description
A vulnerability, which was classified as problematic, has been found in jerryshensjf JPACookieShop 蛋糕商城JPA版 up to 24a15c02b4f75042c9f7f615a3fed2ec1cefb999. Affected by this issue is some unknown functionality of the file GoodsController.java. The manipulation leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. Multiple endpoints are affected.