paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 13, 2026
Description
paicoding 1.0.0 through 1.0.3 contains a stored cross-site scripting vulnerability in image upload because ImageServiceImpl.validateStaticImg accepts SVG files, which are then served from the site origin when local storage is used. Authenticated attackers can upload script-bearing SVG images that execute when victims view them, stealing the non-HttpOnly f-session cookie to hijack accounts.
| Product | Versions |
|---|---|
| paicoding itwanger | 1.0.0 through 1.0.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://vul.yulun.ac.cn/20261112/paicoding/Third-Party Advisory
- https://github.com/itwanger/paicoding/issues/137Issue Tracker
- https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java#L174-L180Technical Details
- VulnCheck Advisory: paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image UploadThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.