Skip to content

Unvalidated Dataverse API path input across plugins #707

Open

Description

@Tharun-Varshan-S

The apiPath parameter is directly interpolated into the HTTP request URL. If an AI agent hallucinates or is maliciously prompted to supply a path containing directory traversal vectors (e.g., ../), it could theoretically escape the expected API scope. This issue tracks the remediation across power-pages, model-apps, and mobile-apps plugins.

Activity

  1. akshaymaloo commented on Oct 13, 2026

    @akshaymaloo
    Contributor

    The model-apps part of this is fixed in model-apps 2.14.0 (#722): dataverse-request.js now keeps the path under the Web API root. A path whose .. segments would leave /api/data/v9.2/ (written plainly, percent-encoded, or joined by an encoded slash) is refused before a token is read, and the paths that were accepted before still answer.

    The other plugins' scripts are for their owners, so I'm leaving this open for them.

  2. Tharun-Varshan-S commented on Oct 14, 2026

    @Tharun-Varshan-S
    ContributorAuthor

    Could I know that if there is any other issue I can work on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions