paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| itwangerpaicoding |
1.0.0 – 1.0.3→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vul.yulun.ac.cn
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- report github.com
- web github.com
- web vul.yulun.ac.cn
- web github.com