GHSA-2wm3-c93q-vv9pMediumCVSS 5.4
paicoding 1.0.0 through 1.0.3 contains a stored cross-site scripting vulnerability in image...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-129140
- https://github.com/itwanger/paicoding/issues/137
- https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java#L174-L180
- https://vul.yulun.ac.cn/20261112/paicoding
- https://www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload
- https://github.com/advisories/GHSA-2wm3-c93q-vv9p