paicoding: Stored XSS via SVG Image Upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
paicoding versions 1.0.0 through 1.0.3 contain a stored cross-site scripting flaw in image upload (CWE-79). The image validation in ImageServiceImpl.validateStaticImg accepts SVG files, and when local storage is used they are served from the site origin. An authenticated attacker can upload an SVG that runs script when a victim views it, reading the non-HttpOnly f-session cookie to hijack the victim's account. The CVSS 4.0 base score is 5.1 (MEDIUM).
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
No fixed version is listed for paicoding.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Timeline
- 2026-11-13 Threatist record created from CVE-2026-129140
- 2026-11-13 Alias added: GHSA-2wm3-c93q-vv9p
References
More itwanger vulnerabilities
- TI-2026-02837 itwanger paicoding Image Save Endpoint ImageRestController.java save server-side request forgery CVSS 4.0MEDIUM 5.3
- TI-2025-03510 itwanger paicoding Article post improper authorization CVSS 4.0MEDIUM 5.3
- TI-2025-03509 itwanger paicoding Browsing History home information disclosure CVSS 4.0MEDIUM 5.3
- TI-2025-03508 itwanger paicoding post cross site scripting CVSS 4.0MEDIUM 5.1
- TI-2025-04334 itwanger paicoding CrossUtil.java cross-domain policy CVSS 4.0LOW 2.3
- TI-2026-91690 Predictable account credentials in paicoding ZSXQ login CVSS 4.0HIGH 8.8
Sources
- CVE-2026-129140 · CVE Program
- CVE-2026-129140 · NVD
- FIRST EPSS
- GHSA-2wm3-c93q-vv9p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences