# CVE-2026-129140: paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 15% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T17:22:09.670Z
- Modified: 2026-11-24T20:48:26.733Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- itwanger paicoding: from 1.0.0 up to 1.0.3

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vul.yulun.ac.cn/20261112/paicoding/> (exploit, third-party-advisory)
- <https://github.com/itwanger/paicoding/issues/137> (issue-tracking)
- <https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java#L174-L180> (technical-description)
- <https://www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-129140](https://www.cve.org/CVERecord?id=CVE-2026-129140), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-129140](https://nvd.nist.gov/vuln/detail/CVE-2026-129140), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-129140 · Whole record: https://cve.day/CVE-2026-129140.json · Rebuilt by cve.day 2026-11-25T22:59:50.762Z
