CVE-2026-129140
published medium CVSS 4.0 · 5.1paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| itwanger | — | paicoding1.0.0 through 1.0.3 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| itwanger | paicoding | 1.0.0 through 1.0.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java#L174-L180
- https://github.com/itwanger/paicoding/issues/137
- https://vul.yulun.ac.cn/20261112/paicoding/
- VulnCheck Advisory: paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload https://www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload
Provider assertions
2VulnCheck · cna
paicoding 1.0.0 through 1.0.3 Stored XSS via SVG Image Upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f771dba174137f8c9a82c8319f606ba225ef1555c3bdc02847b455544ad540b9
- Ingested
- 18 Nov 2026, 14:22:19 UTC
- Source record
- Official CVE record