Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AndreyCoder404/php-censor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: php-censor/php-censor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on May 11, 2026

  1. fix: prevent OS command injection via webhook branch parameter

    Apply escapeshellarg() to the branch parameter in GitBuild and HgBuild to prevent OS command injection (CWE-78) through the unauthenticated webhook endpoint. Also remove the double-quote wrapper around the branch format-string placeholder in GitBuild so that the single quotes produced by escapeshellarg() are effective at the shell level.
    jackieya authored and corpsee committed May 11, 2026
    Configuration menu
    Copy the full SHA
    4cb9149 View commit details
    Browse the repository at this point in the history
  2. fix: also escape commitId parameter in git checkout and git log commands

    The commitId parameter also originates from the unauthenticated webhook request (the 'commit' query parameter) and is passed unsanitized into git checkout and git log shell commands in postCloneSetup(). Apply escapeshellarg() to all commitId usages to close this additional injection vector.
    jackieya authored and corpsee committed May 11, 2026
    Configuration menu
    Copy the full SHA
    cd68d10 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2026

  1. Configuration menu
    Copy the full SHA
    7b8e640 View commit details
    Browse the repository at this point in the history
Loading