Skip to main content

Gnuboard CVE-2025-60859

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-23 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious c_id parameter URL
  2. Delivery
    Deliver link to logged-in user
  3. Exploit
    Victim browser requests view_comment.php
  4. Execution
    Reflected script executes in session
  5. Impact
    Hijack session or act as victim

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 a victim to click an attacker-crafted link whose c_id parameter in bbs/view_comment.php carries a reflected XSS payload (UI:R), limiting it to social-engineering delivery rather than autonomous mass exploitation. Because the flaw is reflected (per the PoC title), there is no persistence - each exploitation needs a fresh victim click, and the payload runs only in that victim's browser session. The input conflicts on access: the description says 'authenticated attackers' while the CVSS vector is PR:N; the practical limiting factor is that the target endpoint/session context is Gnuboard's comment view, so the victim is typically a logged-in forum user. The fixed builds strip quotes/commas from c_id and remove on*= event handlers and style= attributes, so unpatched 5.6.15 against users who follow crafted links is the exposed condition.

Impact

This is a moderate-severity reflected cross-site scripting flaw (CVSS 6.1) whose real-world urgency is limited despite several signals. The EPSS probability is low (0.28%, 21st percentile), it is NOT listed in CISA KEV, and the available PoC is a public write-up reference that is not verified as working exploit code - so there is no confirmed active exploitation. The vuln.today decision label is 'this_month', consistent with a patch-when-convenient rather than emergency posture. Note a clear conflict in the input: the NVD description states 'authenticated attackers,' but the supplied CVSS vector is PR:N (unauthenticated) with UI:R, and the PoC is titled 'reflected XSS' - reflected XSS normally needs no attacker authentication, only a victim who clicks a crafted link, so the 'authenticated' qualifier likely refers to the victim's session or the endpoint requiring login rather than the attacker. Verify the true access requirement with the vendor. The 'RCE' tag overstates impact: this is CWE-79 browser-context script execution, not server-side code execution. Net: a real but low-priority issue - patch in routine maintenance, no evidence of mass exploitation.

Exploit ScenarioDerived

An attacker crafts a URL for bbs/view_comment.php containing a malicious c_id parameter and lures a logged-in Gnuboard user into clicking it. Because the parameter is reflected without adequate sanitization, the attacker's JavaScript executes in the victim's browser session, enabling session/cookie theft or actions performed as the victim. A public PoC reference (a Notion write-up) exists but is not verified as working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Reflected cross-site scripting in Gnuboard 5.6.15 lets an attacker who convinces a victim to open a crafted link run arbitrary script in that victim's browser session through the c_id parameter handled by bbs/view_comment.php. The assessed vector (CVSS 6.1, AV:N/AC:L/PR:N/UI:R/S:C) requires user interaction, so exploitation depends on social-engineering delivery to a forum user rather than autonomous mass compromise, and because the flaw is reflected there is no persistence - each successful attack needs a fresh click. There is no confirmed working exploit code (only a public write-up reference), EPSS sits at 0.28% (21st percentile), and the issue is not in CISA KEV; the upstream fix commit 002e43e5fb84b465357b445772c881e196e100d3 is available, and vendor-based patching is available.

RemediationAI

Apply the vendor patch for Gnuboard; the supplied references identify the upstream fix as commit 002e43e5fb84b465357b445772c881e196e100d3 (https://github.com/gnuboard/gnuboard5/commit/002e43e5fb84b465357b445772c881e196e100d3), which strips single quotes, double quotes and commas from the c_id parameter in bbs/view_comment.php and adds removal of on*= event-handler attributes and style= attributes inside clean_xss_tags() in lib/common.lib.php. Vendor patching is reported as available, but no tagged release number is given in the provided data, so confirm the fixed build with the vendor rather than assuming a version; sites that cannot immediately update should at minimum backport those two file changes, since the sanitizer hardening in lib/common.lib.php is what closes the attribute-injection path and patching only view_comment.php leaves the shared helper unchanged. No separate workaround (such as disabling the comment view or filtering c_id at the web tier) is documented in the supplied sources, and the exposed condition remains serving unpatched 5.6.15 to users who follow crafted links.

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

Gnuboard (gnuboard5) is a PHP-based bulletin-board/forum package widely used for Korean-language community sites; the affected code paths are the PHP endpoint bbs/view_comment.php and the shared sanitizer clean_xss_tags() in lib/common.lib.php. The root cause is CWE-79 (improper neutralization of input during web page generation): the c_id request parameter is passed through clean_xss_tags() with the tag-stripping flags enabled, but the sanitizer did not neutralize attribute-level injection, so quote characters and event-handler or style attributes could survive into the rendered page context. The upstream commit hardens both layers - it applies preg_replace to strip single quotes, double quotes and commas from c_id in view_comment.php, and extends clean_xss_tags() in lib/common.lib.php with additional passes that remove on\w+= event-handler attributes and style= attributes. The supplied metadata tags include 'RCE', but the evidence-backed impact is script execution in the victim's browser session; no server-side code execution mechanism is described in the available sources. Authentication on the attacker side is contested: the description says 'authenticated attackers' while the CVSS vector carries PR:N, and the reflective delivery model means the victim is typically a logged-in forum user viewing the comment endpoint.

Know when Gnuboard 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 (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Reflected XSS delivered over the network requiring a victim click gives AV:N/AC:L/PR:N/UI:R; browser-context execution crossing into the user's session is S:C with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Cross Site Scripting (XSS) vulnerability in Gnuboard 5.6.15 allows authenticated attackers to execute arbitrary code via crafted c_id parameter in bbs/view_comment.php.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
Korean open-source PHP bulletin board, regionally popular, limited global footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 Yes
EPSS 0.3%
Patch available Yes
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· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:sir:gnuboard:5.6.15:*:*:*:*:*:*:*
CVE-2022-1252 CRITICAL POC
9.1 Apr 11

Use of a Broken or Risky Cryptographic Algorithm in GitHub repository gnuboard/gnuboard5 prior to and including 5.5.5. R

CVE-2024-41475 HIGH POC
8.8 Aug 12

Gnuboard g6 6.0.7 is vulnerable to Session hijacking due to a CORS misconfiguration. Rated high severity (CVSS 8.8), thi

CVE-2014-2339 MEDIUM POC
6.5 Mar 19

Multiple SQL injection vulnerabilities in bbs/ajax.autosave.php in GNUboard 5.x and possibly earlier allow remote authen

CVE-2025-61464 MEDIUM POC
6.5 Oct 23

A second-order SQL injection in GnuBoard4 (gnuboard4) v4.36.04 and earlier lets network-reachable attackers inject SQL t

CVE-2024-37656 MEDIUM POC
6.1 Jul 07

An open redirect vulnerability in gnuboard5 v.5.5.16 allows a remote attacker to obtain sensitive information via the in

CVE-2024-37658 MEDIUM POC
6.1 Jul 07

An open redirect vulnerability in gnuboard5 v.5.5.16 allows a remote attacker to obtain sensitive information via the bb

CVE-2024-37657 MEDIUM POC
6.1 Jul 07

An open redirect vulnerability in gnuboard5 v.5.5.16 allows a remote attacker to obtain sensitive information via thebbs

CVE-2024-39097 MEDIUM POC
6.1 Aug 26

There is an Open Redirect vulnerability in Gnuboard v6.0.4 and below via the `url` parameter in login path. Rated medium

CVE-2024-24157 MEDIUM POC
6.1 May 14

Gnuboard g6 / https://github.com/gnuboard/g6 commit c2cc1f5069e00491ea48618d957332d90f6d40e4 is vulnerable to Cross Site

CVE-2024-24156 MEDIUM POC
6.1 Mar 16

Cross Site Scripting (XSS) vulnerability in Gnuboard g6 before Github commit 58c737a263ac0c523592fd87ff71b9e3c07d7cf5, a

CVE-2022-30050 MEDIUM POC
6.1 May 16

Gnuboard 5.55 and 5.56 is vulnerable to Cross Site Scripting (XSS) via bbs/member_confirm.php. Rated medium severity (CV

CVE-2021-3831 MEDIUM POC
6.1 Dec 14

gnuboard5 is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rated m

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