7.5
CWE
79
Advisory Published
CVE Published
Updated

CVE-2022-27777: XSS

First published: Wed Apr 27 2022(Updated: )

A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.

Credit: support@hackerone.com

Affected SoftwareAffected VersionHow to fix
Rubyonrails Actionpack<5.2.7.1
Rubyonrails Actionpack>=6.0.0<6.0.4.8
Rubyonrails Actionpack>=6.1.0<6.1.5.1
Rubyonrails Actionpack>=7.0.0<7.0.2.4
Debian Debian Linux=10.0
redhat/rubygem-actionview<0:6.1.7-1.el8
0:6.1.7-1.el8
debian/rails<=2:5.2.2.1+dfsg-1+deb10u3
2:5.2.2.1+dfsg-1+deb10u5
2:6.0.3.7+dfsg-2+deb11u2
2:6.1.7.3+dfsg-1
2:6.1.7.3+dfsg-2

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-27777?

    CVE-2022-27777 is a Cross-site scripting (XSS) vulnerability in Action View tag helpers.

  • How does CVE-2022-27777 work?

    CVE-2022-27777 occurs when untrusted data, like the hash key for tag attributes, are not properly escaped, allowing an attacker to execute a XSS attack.

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

    The severity of CVE-2022-27777 is high with a CVSS score of 7.5.

  • Which versions of rubygem-actionview are affected by CVE-2022-27777?

    rubygem-actionview versions >= 5.2.0 and < 7.0.2.4 are affected by CVE-2022-27777.

  • How can I fix CVE-2022-27777?

    To fix CVE-2022-27777, update rubygem-actionview to version 7.0.2.4 or higher.

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