Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged forum user
-
DeliveryPost comment with img onerror payload
-
ExploitVictim clicks Reply, payload renders via jQuery .html()
-
ExecutionScript executes, steals non-HttpOnly sid cookie
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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 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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-126157
GHSA-5765-77gr-vjxv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB