Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryUpload script-bearing SVG past validateStaticImg
-
ExploitSVG served from site origin
-
ExecutionVictim views image, script executes
-
PersistSteal non-HttpOnly f-session cookie
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
A vulnerability was found in itwanger paicoding 1.0.3. Rated medium severity (CVSS 5.3), this vulnerability is remotely
A vulnerability was found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.3), t
A vulnerability has been found in itwanger paicoding 1.0.3 and classified as problematic. Rated medium severity (CVSS 5.
Predictable credentials in paicoding (commits b8206b9 through 903adce) allow account takeover of users who registered th
Missing authorization in paicoding 1.0.3 lets remote unauthenticated attackers read restricted content through the artic
Server-side request forgery in Paicoding 1.0.0-1.0.3 allows authenticated attackers to manipulate the image upload param
Payment bypass in paicoding 1.0.3 lets an authenticated user unlock paid articles without completing payment by brute-fo
Stored cross-site scripting in paicoding's payment-notification flow allows authenticated users to set a malicious displ
Stored cross-site scripting in paicoding 1.0.0 through 1.0.3 lets an authenticated user place a closing script tag and a
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
EUVD-2026-125620
GHSA-2wm3-c93q-vv9p
NVD
CVE.org
EPSS
Exploit-DB