XSS Vulnerability in ownCloud Core Affecting Ruby Packages in Alpine

ruby Updated 02 Oct 2025

Summary

15/01/2021
N/A
Yes i
Medium
6.1

ALPINE-CVE-2020-16255: ownCloud (Core) before 10.5 allows XSS in login page 'forgot password.'. Affects ruby versions < 2.5.8-r0. Fixed in 2.5.8-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity. It is widely used for building web applications and is a core component of many software stacks. The vulnerability in question affects Ruby packages in Alpine Linux versions 3.8 and 3.9, specifically in the context of the ownCloud application, which is a popular self-hosted file sync and share solution.

Vulnerability Detail

The vulnerability identified as CVE-2020-16255 allows for Cross-Site Scripting (XSS) in the login page's 'forgot password' feature of ownCloud (Core) prior to version 10.5. This flaw can be exploited by an attacker to inject malicious scripts into the web application, potentially leading to unauthorized access, data theft, or other malicious activities. The vulnerability arises from insufficient input validation on the affected page, making it susceptible to XSS attacks.

How To Fix

Minimum fixed version

2.5.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade ruby

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable the 'forgot password' feature in the ownCloud settings until the package is updated. This can help mitigate the risk of exploitation while waiting for a permanent fix.

Conclusion

The XSS vulnerability in ownCloud Core affecting Ruby packages in Alpine poses significant security risks. It is crucial for users to update their Ruby packages to the patched version and consider disabling vulnerable features until the update is applied. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

CVE-2020-16255 is a vulnerability that allows for Cross-Site Scripting (XSS) in the ownCloud login page's 'forgot password' feature.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Exploitation of this vulnerability can lead to unauthorized access, data theft, and other malicious activities through injected scripts.

You can update the Ruby package by running the command 'apk add ruby=2.5.8-r0' in your terminal.

Yes, you can temporarily disable the 'forgot password' feature in ownCloud settings to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

2.5.8-r0

This is the first release that contains the fix.

sudo apk add --upgrade ruby

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback