Cross-site Scripting (XSS) Affecting gitea package, versions <1.13.7-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE321-GITEA-8485790
  • published6 Dec 2024
  • disclosed27 Mar 2021

Introduced: 27 Mar 2021

CVE-2021-29272  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 gitea to version 1.13.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitea package and not the gitea package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.

CVSS Scores

version 3.1