{"vuln_id":"CVE-2026-129140","aliases":[],"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.","published_at":"2026-11-13T18:17:38.600000Z","modified_at":"2026-11-18T15:17:37.950000Z","first_seen_at":"2026-11-21T19:15:48.800334Z","severity":"medium","severity_source":"nvd","cvss_score":5.1,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00247,"epss_percentile":0.16153,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129140"},"matched_alias":null,"items":[{"id":5699,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-129140: paicoding 1.0.0 through 1.0.3 contains a stored cross-site scripting vulnerability in image upload because ImageServiceImpl.validateStaticImg accepts SVG files…","summary":"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.\n\nReferences:\nhttps://github.com/itwanger/paicoding/blob/903adce70309d340f7eec51ec3c80cfe3c8326c1/paicoding-service/src/main/java/com/github/paicoding/forum/service/image/service/ImageServiceImpl.java#L174-L180\nhttps://github.com/itwanger/paicoding/issues/137\nhttps://vul.yulun.ac.cn/20261112/paicoding/\nhttps://www.vulncheck.com/advisories/paicoding-1.0.0-through-1.0.3-stored-xss-via-svg-image-upload\nhttps://vul.yulun.ac.cn/20261112/paicoding/","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129140","published_at":"2026-11-13T18:17:38.600000Z","updated_at":"2026-11-18T15:17:37.950000Z","fetched_at":"2026-11-21T19:15:31.481264Z","severity":"medium","cvss_score":5.1,"epss":0.00247,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-129140","vuln_ids":["CVE-2026-129140"],"tags":["CWE-79"],"cluster_id":6270,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5699","html":"https://vulnwatch.ve1ve2.com/item/5699"}}]}