Skip to content

Pagination URLs expose absolute server path via base_path parameter #271

@advansit

Description

@advansit

Description

Product list pagination URLs include a base_path query parameter containing the absolute server filesystem path. This leaks server-internal information to the client.

Steps to reproduce

  1. Create a product list with more than 20 products (default pagination limit)
  2. View the shop page in a browser
  3. Inspect the pagination links (page 2, next, etc.)

Expected result

Pagination URLs should not contain server filesystem paths.

Actual result

Pagination URLs contain:

/shop?base_path=/home/username/public_html/example.com/components/com_j2store&start=20

The base_path parameter exposes the absolute server path (information disclosure).

Environment

  • Joomla 5.4.3
  • J2Commerce (latest)
  • PHP 8.1+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions