CVE-2025-32027: Yii does not prevent XSS in scenarios where fallback error renderer is used

Published Apr 10, 2025
·
Updated

Impact Affected versions of yiisoft/yii are vulnerable to Reflected XSS in specific scenarios where the fallback error renderer is used.

Patches Upgrade yiisoft/yii to version 1.1.31 or higher.

References - Git commit

If you have any questions or comments about this advisory, contact us through security form.

Other sources

Yii is an open source PHP web framework. Prior to 1.1.31, yiisoft/yii is vulnerable to Reflected XSS in specific scenarios where the fallback error renderer is used. Upgrade yiisoft/yii to version 1.1.31 or higher.

MITRE

Affected Software

3 affected componentsFixes available
Yii yiisoft/yii<1.1.31
composer/yiisoft/yii<1.1.31
1.1.31
Yiiframework Yii<1.1.31

Event History

Apr 10, 2025
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyAffected Software
Apr 11, 2025
Advisory Published
via GitHub·02:05 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-32027?

CVE-2025-32027 is classified as a moderate severity vulnerability due to the potential for reflected cross-site scripting (XSS) attacks.

2

How do I fix CVE-2025-32027?

To mitigate CVE-2025-32027, upgrade yiisoft/yii to version 1.1.31 or higher.

3

What causes CVE-2025-32027 in Yii framework?

CVE-2025-32027 is caused by the fallback error renderer handling user input in an unsafe manner, allowing for reflected XSS exploitation.

4

Is CVE-2025-32027 applicable to all versions of Yii?

CVE-2025-32027 affects all Yii framework versions prior to 1.1.31.

5

What impact does CVE-2025-32027 have on applications?

Applications using affected versions of Yii may be vulnerable to reflected XSS attacks, potentially compromising user data and session security.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203