Skip to main content

paicoding EUVDEUVD-2026-125620

| CVE-2026-129140 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-2wm3-c93q-vv9p
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Upload script-bearing SVG past validateStaticImg
  3. Exploit
    SVG served from site origin
  4. Execution
    Victim views image, script executes
  5. Persist
    Steal non-HttpOnly f-session cookie
  6. Impact
    Hijack victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions drawn from the description: (1) the instance must use local storage so uploaded images are served from the site's own origin - object/cloud storage on a separate origin would not trigger the XSS; (2) the attacker must hold an authenticated account with image-upload capability (PR:L), because ImageServiceImpl.validateStaticImg accepts SVG files; and (3) a victim must actually view the uploaded SVG (UI:P / UI:R) for the embedded script to run. The impact hinges on the f-session cookie being non-HttpOnly, which lets the injected script read and exfiltrate it for account hijack. Limiting factors: non-default/configuration-dependent local storage mode, required authentication, and required victim interaction all narrow realistic exploitation. No fixed version is listed in the available data.

Impact

This is a moderate-severity stored XSS (official CVSS 4.0 base 5.1) whose real-world risk is tempered by several limiting factors rather than a top-priority emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) shows network reach and low complexity, but requires low-level authentication (PR:L - a registered account that can upload images) and passive user interaction (UI:P - a victim must view the malicious SVG), and impact is only Low across confidentiality/integrity with a subsequent-system effect (SC:L/SI:L) reflecting account hijack via the stolen non-HttpOnly f-session cookie. The vuln.today decision label is 'this_month' (not act_now/emergency), and the CVE is not listed in CISA KEV, so there is no confirmed active exploitation. No EPSS score was supplied, so exploitation probability cannot be quantified. The report originates from VulnCheck with a dedicated advisory and a GitHub issue plus a direct source-line reference, but none is marked as confirmed working exploit code. Net: a genuine, verified bug worth patching on a normal cycle, not a drop-everything issue - the authentication, interaction, and local-storage-mode prerequisites meaningfully narrow the attack surface.

Exploit ScenarioDerived

An attacker registers or uses an existing low-privilege account on a paicoding 1.0.0-1.0.3 instance configured with local image storage, then uploads an SVG file containing an embedded script that passes the permissive ImageServiceImpl.validateStaticImg check. Because the SVG is subsequently served from the site's own origin, the script executes in the browser of any victim who views the image, reading the non-HttpOnly f-session cookie and exfiltrating it to hijack the victim's session. A public VulnCheck advisory and GitHub issue describe the flaw, but no confirmed weaponized exploit code is provided in the available sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Stored cross-site scripting in paicoding 1.0.0 through 1.0.3 allows an authenticated user with image-upload rights to submit a script-bearing SVG file that executes in the browser of anyone who later views the image, potentially reading the non-HttpOnly f-session cookie and using it to hijack the victim's account. The flaw sits in ImageServiceImpl.validateStaticImg, which accepts SVG content, and exploitation is only possible when the instance is configured to use local storage so that uploads are served from the site's own origin; separate-origin object or cloud storage breaks the attack path. Severity is moderate (official CVSS 4.0 base 5.1; assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) and is further narrowed by the authentication requirement, the configuration dependency and the need for victim interaction; no public exploit code was identified at time of analysis and there is no CISA KEV confirmation of active exploitation.

RemediationAI

No vendor-released patch or fixed version is identified in the available data, so remediation must start from the upstream issue at https://github.com/itwanger/paicoding/issues/137 and the VulnCheck advisory at https://www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload, and operators should confirm whether a corrected release has appeared before relying on configuration-only mitigation. Actionable compensating controls, in order of effectiveness: extend ImageServiceImpl.validateStaticImg to reject image/svg+xml entirely and allow only raster formats (PNG/JPEG/GIF/WebP) - the trade-off is loss of legitimate SVG icon/illustration uploads, but it removes the injection vector rather than filtering it; set the HttpOnly flag on the f-session cookie so the injected script cannot read the session identifier, with the caveat that any client-side code relying on document.cookie for that session would break and existing sessions should be rotated; move uploads off the application origin to a separate CDN or object-storage domain so served SVGs cannot execute in the site's context, which requires configuration and URL changes in existing content; and serve the upload directory with Content-Disposition: attachment plus a restrictive Content-Security-Policy, accepting that these reduce but do not eliminate the risk from already-uploaded files. Existing uploads should be reviewed and purged of SVG content, and all users with upload privileges treated as potential sources until validation is fixed.

Affected VersionsENISA

paicoding 1.0.0 ≤1.0.3

Affected Packages

euvd paicoding no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

paicoding is a Java/Spring-based community forum application, and the vulnerable code path is the image service class ImageServiceImpl (validateStaticImg, referenced at lines 174-180 of the linked source snapshot), which is responsible for validating uploaded image files. The validation accepts SVG, a format that is not a passive raster image but an XML document capable of embedding <script> elements and event handlers; when the deployment uses local storage, the file is written and served back from the same origin as the application, so the browser executes the embedded script in the site's security context rather than treating it as inert image data. This is classic stored cross-site scripting (CWE-79: improper neutralization of input during web page generation), with the assessed vector noting a scope change (S:C) because the payload runs with the privileges of the hosting origin. The concrete impact pathway depends on the f-session cookie lacking the HttpOnly attribute, which makes the session identifier readable from JavaScript and therefore exfiltratable by the injected payload. The trigger mechanics beyond file upload plus victim viewing are not described in the available sources.

Know when Paicoding gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 5.4 MEDIUM

Authenticated uploader (PR:L) plants a stored SVG that runs in a viewing victim's browser (UI:R), crossing into the victim's session context (S:C) with low confidentiality/integrity impact via cookie theft; no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche open-source Chinese forum/learning project, limited production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-3967 MEDIUM POC
5.3 Apr 27

A vulnerability was found in itwanger paicoding 1.0.3. Rated medium severity (CVSS 5.3), this vulnerability is remotely

CVE-2025-3966 MEDIUM POC
5.3 Apr 27

A vulnerability was found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.3), t

CVE-2025-3965 MEDIUM POC
5.1 Apr 27

A vulnerability has been found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.

CVE-2026-129139 HIGH
8.8 Nov 13

Predictable credentials in paicoding (commits b8206b9 through 903adce) allow account takeover of users who registered th

CVE-2026-129143 HIGH
8.7 Nov 13

Missing authorization in paicoding 1.0.3 lets remote unauthenticated attackers read restricted content through the artic

CVE-2026-3286 LOW POC
2.1 Feb 27

Server-side request forgery in Paicoding 1.0.0-1.0.3 allows authenticated attackers to manipulate the image upload param

CVE-2026-129144 MEDIUM
5.3 Nov 13

Payment bypass in paicoding 1.0.3 lets an authenticated user unlock paid articles without completing payment by brute-fo

CVE-2026-129142 MEDIUM
5.1 Nov 13

Stored cross-site scripting in paicoding's payment-notification flow allows authenticated users to set a malicious displ

CVE-2026-129141 MEDIUM
5.1 Nov 13

Stored cross-site scripting in paicoding 1.0.0 through 1.0.3 lets an authenticated user place a closing script tag and a

CVE-2025-4839 LOW POC
2.3 May 17

A vulnerability has been found in itwanger paicoding 1.0.0/1.0.1/1.0.2/1.0.3 and classified as problematic. Rated low se

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy