paicoding 1.0.0 through 1.0.3 contains a stored cross-site scripting vulnerability in image upload because
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium.
Data as of 13 Nov 2026, 19:47 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.4 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| itwangerpaicoding | Affected
| Fixed in– |
GitHubpaicodingpkg:github/paicodingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict or disable SVG image uploads or sanitize SVG content to remove scripts. Additionally, marking session cookies as HttpOnly can reduce the risk of cookie theft via XSS.
Description
Paicoding versions 1.0.0 through 1.0.3 contain a stored cross-site scripting (XSS) vulnerability in the image upload functionality. The vulnerability arises because the ImageServiceImpl.validateStaticImg method accepts SVG files, which can include embedded scripts. When these SVG images are uploaded by authenticated attackers and served from the site origin using local storage, the scripts execute in the context of users viewing the images. This can lead to theft of non-HttpOnly f-session cookies and account hijacking.
References
- nvd.nist.gov/vuln/detail/CVE-2026-129140 (opens in a new tab)
- github.com/itwanger/paicoding/issues/137 (opens in a new tab)
- github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java (opens in a new tab)
- vul.yulun.ac.cn/20261112/paicoding (opens in a new tab)
- vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload (opens in a new tab)