CVE-2022-1464: Stored xss bug in gogs/gogs

Published May 5, 2022
·
Updated

Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .

Affected Software

6 affected componentsFixes available
Gogs Gogs<0.12.7
alpine/gogs<0.12.7-r0
0.12.7-r0
alpine/gogs<0.12.7-r0
0.12.7-r0
alpine/gogs<0.12.7-r0
0.12.7-r0
alpine/gogs<0.12.7-r0
0.12.7-r0
alpine/gogs<0.12.7-r0
0.12.7-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/gogs to a version that resolves this vulnerability.

    Fixed in 0.12.7-r0

Event History

May 5, 2022
CVE Published
via MITRE·01:45 PM
Data Sourced
via MITRE·01:45 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Event
02:15 PM

Frequently Asked Questions

1

What is the vulnerability ID for this bug?

The vulnerability ID for this bug is CVE-2022-1464.

2

What is the title of this vulnerability?

The title of this vulnerability is 'Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7.'

3

What is the severity rating of CVE-2022-1464?

The severity rating of CVE-2022-1464 is high, with a value of 5.4.

4

How does this vulnerability allow execution of arbitrary JavaScript code?

This vulnerability allows execution of arbitrary JavaScript code when a user opens an attachment in the vulnerable GitHub repository gogs/gogs.

5

How can I fix this vulnerability?

To fix this vulnerability, update your gogs/gogs repository to version 0.12.7 or above.

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