CWE
79
Advisory Published
Updated

CVE-2020-23831: XSS

First published: Tue Sep 01 2020(Updated: )

A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Management System v1.0 allows remote attackers to harvest login credentials and session cookies when an unauthenticated victim clicks on a malicious URL and enters credentials.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Stock Management System=1.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-23831?

    CVE-2020-23831 is classified as a high-severity vulnerability due to its ability to steal sensitive login credentials.

  • How do I fix CVE-2020-23831?

    To fix CVE-2020-23831, ensure that proper input validation and output encoding mechanisms are implemented on the index.php login-portal webpage.

  • What systems are affected by CVE-2020-23831?

    CVE-2020-23831 specifically affects SourceCodester Stock Management System version 1.0.

  • What type of attack does CVE-2020-23831 enable?

    CVE-2020-23831 enables reflected Cross-Site Scripting (XSS) attacks that can compromise user credentials.

  • How can I prevent exploitation of CVE-2020-23831?

    To prevent exploitation of CVE-2020-23831, implement security measures such as Content Security Policy (CSP) and sanitize user inputs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203