Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-0314: fix: added missing check on redirect value · thorsten/phpMyFAQ@3872e7e

Cross-site Scripting (XSS) - Reflected in GitHub repository thorsten/phpmyfaq prior to 3.1.10.

CVE
#xss#vulnerability#git#php

Skip to content

    • Actions

      Automate any workflow

    • Packages

      Host and manage packages

    • Security

      Find and fix vulnerabilities

    • Codespaces

      Instant dev environments

    • Copilot

      Write better code with AI

    • Code review

      Manage code changes

    • Issues

      Plan and track work

    • Discussions

      Collaborate outside of code

*   Explore
*   All features
*   Documentation
*   GitHub Skills
*   Blog
    • For

    • Enterprise

    • Teams

    • Startups

    • Education

    • By Solution

    • CI/CD & Automation

    • DevOps

    • DevSecOps

    • Case Studies

    • Customer Stories

    • Resources

    • GitHub Sponsors

      Fund open source developers

*   The ReadME Project
    
    GitHub community articles
    

*   Repositories
*   Topics
*   Trending
*   Collections
  • Pricing

  • Notifications

  • Fork 230

  • Code

  • Issues 29

  • Pull requests

  • Discussions

  • Actions

  • Projects 3

  • Security

  • Insights

Permalink

Browse files

fix: added missing check on redirect value

  • Loading branch information

1 parent 1123c08 commit 3872e7eac2ddeac182fc1335cc312d1392d56f98

Showing 1 changed file with 1 addition and 1 deletion.

@@ -136,7 +136,7 @@

//

// Get possible redirect action

//

$redirectAction = Filter::filterInput(INPUT_POST, 'redirect-action’, FILTER_UNSAFE_RAW);

$redirectAction = Filter::filterInput(INPUT_POST, 'redirect-action’, FILTER_SANITIZE_SPECIAL_CHARS);

if (is_null($action) && ‘’ !== $redirectAction && ‘logout’ !== $redirectAction) {

$action = $redirectAction;

}

0 comments on commit 3872e7e

Please sign in to comment.

Related news

GHSA-m9xr-8cx7-53pj: phpMyFAQ Reflected Cross-site Scripting vulnerability

Cross-site Scripting (XSS) - Reflected in GitHub repository thorsten/phpmyfaq prior to 3.1.10.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda