XSS in Itwanger Paicoding
CVE-2026-129140
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 6.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- vul.yulun.ac.cn/20261112/paicoding/ (third-party-advisory)
- github.com/itwanger/paicoding/issues/137 (issue-tracking)
- github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/pai… (technical-description)
- www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-i… (third-party-advisory)