CWE
79
Advisory Published
Updated

CVE-2022-31454: XSS

First published: Fri Jul 28 2023(Updated: )

** DISPUTED ** Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books. NOTE: this is disputed by the vendor because the cve-2022-31454-8e8555c31fd3 page does not describe why /books has a relationship to Yii 2.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Yiiframework Yii=2.0.45

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 CVE-2022-31454?

    CVE-2022-31454 is a cross-site scripting (XSS) vulnerability found in Yii 2 v2.0.45.

  • How can an attacker exploit CVE-2022-31454?

    An attacker can exploit CVE-2022-31454 by injecting malicious scripts or code through the /books endpoint in Yii 2 v2.0.45.

  • What is the severity of CVE-2022-31454?

    The severity of CVE-2022-31454 is medium with a CVSS score of 6.1.

  • What is the CWE ID of CVE-2022-31454?

    The CWE ID of CVE-2022-31454 is 79.

  • How do I fix CVE-2022-31454?

    To fix CVE-2022-31454, update Yii to a version higher than 2.0.45 that addresses the XSS vulnerability.

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