Skip to main content

forum-java CVE-2026-129491

| EUVDEUVD-2026-126157 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-16 VulnCheck GHSA-5765-77gr-vjxv
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 forum user
  2. Delivery
    Post comment with img onerror payload
  3. Exploit
    Victim clicks Reply, payload renders via jQuery .html()
  4. Execution
    Script executes, steals non-HttpOnly sid cookie
  5. Impact
    Hijack victim/administrator session

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 an authenticated forum account (PR:L) capable of posting comment content, and the comment reply feature whose dialog renders comment text through jQuery .html() without sanitization. The payload only executes when a victim actively clicks Reply on the malicious comment (UI:P), so no fully passive or unauthenticated path exists. Account hijack via cookie theft is possible specifically because the sid session cookie lacks the HttpOnly flag, making it readable from JavaScript; a deployment that set HttpOnly on sid would blunt the cookie-theft impact. The affected code is present only in commits 20f7e68 through 63152c4 of forum-java, limiting exposure to self-hosted instances running that range.

Impact

This is a stored cross-site scripting flaw (CWE-79) in Qbian61's forum-java, a small open-source Java forum project, scored CVSS 4.0 5.1 (Medium). The 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) shows a network-reachable, low-complexity attack but with two real friction points: PR:L means the attacker must already hold an authenticated forum account, and UI:P means a victim must perform an action (clicking Reply) for the payload to fire. No EPSS score, no CISA KEV listing, and no confirmed public exploit code were provided in the input, so there is no signal of active or widespread exploitation. VulnCheck's assignment and the vuln.today 'this_month' decision label indicate it is a tracked, patch-worthy issue rather than an emergency. The practical risk driver is privilege escalation: because the stolen sid session cookie is non-HttpOnly and any authenticated user can seed the payload, an attacker can hijack an administrator who merely opens the reply dialog. Overall this is a legitimate but moderate-priority issue - the low prevalence of the affected product and the authentication plus user-interaction requirements keep real-world risk contained, and the absence of EPSS/KEV/POC-confirmed signals means there is no evidence of mass exploitation.

Exploit ScenarioDerived

An attacker registers or uses an existing low-privileged forum account and posts a comment containing an img tag with an onerror JavaScript payload. When any victim - potentially an administrator - clicks Reply on that comment, the unsanitized content is rendered via jQuery .html() in the reply dialog and the script executes in the victim's session, exfiltrating the non-HttpOnly sid cookie. No confirmed public exploit code was provided in the input, though the VulnCheck advisory and GitHub issue describe the mechanism.

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 16, 2026

Stored cross-site scripting in Qbian61's forum-java forum application (commits 20f7e68 through 63152c4) lets any authenticated user post comment content that is later rendered through jQuery .html() in the reply dialog, so an img/onerror payload executes when a victim clicks Reply. Because the sid session cookie is not marked HttpOnly, the script can read it and hijack the victim's session, including administrator accounts. No public exploit code is confirmed and there is no CISA KEV entry; EPSS data was not supplied, and exposure is limited to self-hosted instances running the affected commit range.

RemediationAI

No vendor-released patch or fixed version is identified in the supplied data; remediation requires deploying a build from outside the affected commit range (after 63152c4) or applying your own fix. The concrete code-level fix is to stop writing stored comment content into the DOM via jQuery .html() in the reply dialog: use .text() or explicit HTML escaping for the comment body in include/posts-script.html and include/comment-list.html, and sanitize comment input server-side on submission. As an interim compensating control, set the HttpOnly flag on the sid session cookie so that even if the payload executes, the session token cannot be read from JavaScript; this does not stop the script from running, so it reduces account-hijack risk only. Additionally, because exploitation requires an authenticated poster, restricting who can create accounts and post comments on the forum limits the attacker population, at the cost of tightening community access. Monitor the project issue at https://github.com/Qbian61/forum-java/issues/25 for an upstream fix. Note that XSS payloads can also act in the victim's session beyond cookie theft, so HttpOnly alone is not a complete mitigation.

Affected VersionsENISA

forum-java 20f7e68ff5d465fe6de91adab4f94df36fc22f63 ≤63152c49c71ad8121bda6e9a03a7ba7dc39ae52c

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The flaw is a CWE-79 cross-site scripting issue in a Java (Spring Boot/Thymeleaf-based) forum project. Comment text submitted by authenticated users is persisted and then written into the DOM as HTML rather than as text: the affected Thymeleaf templates (posts-script.html around lines 30-34 and comment-list.html around lines 56-60 at commit 63152c4) feed stored comment content into jQuery's .html() when the reply dialog is populated. jQuery .html() parses its argument as markup, so an <img src=x onerror=...> style payload in a comment becomes live script when the dialog opens. The trigger is specifically the victim clicking Reply on the malicious comment; the supplied evidence does not describe any other rendering path. Impact is amplified by the sid session cookie being issued without the HttpOnly attribute, so JavaScript can read it; a deployment that sets HttpOnly on sid would blunt cookie theft, though the scripted action itself would still run. The affected code exists only within the stated commit range, so only self-hosted deployments tracking those commits are exposed.

Know when Java 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 poster (PR:L) and victim-click requirement (UI:R); stored XSS executes in the victim's browser context (S:C) with limited confidentiality/integrity impact (cookie theft) and 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

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
small open-source hobby Java forum project, no meaningful enterprise footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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