---
id: "CVE-2026-129491"
page: "https://infrastack.ai/live/CVE-2026-129491"
kind: "vulnerability"
aliases: ["CVE-2026-129491"]
title: "forum-java: stored XSS in comment replies steals session cookies"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["forum-java", "java", "other", "self-hosted"]
not_affected_if: ["different-codebase", "outside-commit-range"]
published_at: "2026-11-16T01:17:18+00:00"
first_seen_at: "2026-11-16T01:39:00+00:00"
updated_at: "2026-11-16T01:40:58+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129491", "first_seen_at": "2026-11-16T01:39:00+00:00"}]
exploit_sources: []
---

# forum-java: stored XSS in comment replies steals session cookies

Link for people: https://infrastack.ai/live/CVE-2026-129491 (this .md is for agents)

A stored cross-site scripting flaw in the Qbian61 forum-java project lets a logged-in user post comments with script that runs when another user clicks Reply. The script can read the non-HttpOnly sid session cookie and hijack accounts, including administrator accounts.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the forum is built from forum-java commits between 20f7e68 and 63152c4 (unknown whether the sources name a fixed commit).
- Look for comment rendering that uses jQuery `.html()` in the reply dialog.
- Check whether the `sid` cookie is set without HttpOnly.

## Timeline

- 2026-11-16T01:39:00+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129491

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/qbian61-forum-java-commit-20f7e68-through-63152c4-stored-xss-via-comment-reply-dialog

## From the sources

Qbian61 forum-java commit 20f7e68 through commit 63152c4 contains a stored cross-site scripting vulnerability that allows authenticated users to inject script by posting unsanitized comment content rendered via jQuery .html() in the reply dialog. Attackers can post comments with img onerror payloads that execute when victims click Reply, stealing the non-HttpOnly sid session cookie to hijack accounts including administrators.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
