CVE-2020-22330: Subrion Cross-Site Scripting (XSS) Vulnerability

intelliants/subrion Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2020-22330: Subrion Cross-Site Scripting (XSS) vulnerability. Affects intelliants/subrion versions >= 4.2.1, < 4.2.2. Fixed in 4.2.2. 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

Subrion is an open-source content management system (CMS) written in PHP. It provides a platform for creating and managing websites, including features such as user management, content publishing, and template customization. The vulnerability identified as CVE-2020-22330 is a Cross-Site Scripting (XSS) vulnerability that affects Subrion version 4.2.1. This vulnerability arises when adding a page and can be exploited through the title field.

Vulnerability Detail

The Cross-Site Scripting (XSS) vulnerability in Subrion 4.2.1 allows an attacker to inject malicious scripts into the application, which are then executed in the context of the victim's browser. This can lead to various security risks, including unauthorized access to sensitive information, session hijacking, and the potential for further attacks. The vulnerability is rated as moderate severity with a CVSS score of 6.1.

How To Fix

Minimum fixed version

4.2.2

This is the first release that contains the fix.

composer require intelliants/subrion:4.2.2

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

Workaround

As a temporary workaround, users can manually sanitize the input by ensuring that any user-supplied data is properly encoded or escaped before being displayed on the website. This can be achieved by using appropriate functions or libraries provided by the programming language or framework being used. Here is an example of how to sanitize the title field in PHP:

$title = htmlspecialchars($title, ENT_QUOTES, 'UTF-8');

Conclusion

The CVE-2020-22330 vulnerability in Subrion version 4.2.1 poses a moderate security risk due to the Cross-Site Scripting (XSS) vulnerability. Users are advised to upgrade to Subrion version 4.2.2 or later to fix this vulnerability. In the meantime, implementing proper input sanitization and output encoding can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for intelliants/subrion →

Share this vulnerability

FAQ

Subrion is an open-source content management system (CMS) written in PHP. It provides a platform for creating and managing websites, including features such as user management, content publishing, and template customization.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate website content, or perform other malicious actions.

The CVE-2020-22330 vulnerability affects Subrion version 4.2.1. It allows an attacker to inject malicious scripts into the application through the title field when adding a page. This can lead to various security risks, including unauthorized access to sensitive information and the potential for further attacks.

The CVE-2020-22330 vulnerability is rated as moderate severity with a CVSS score of 6.1. While it is not considered critical, it still poses a significant risk and should be addressed promptly.

To fix the CVE-2020-22330 vulnerability, users of Subrion should upgrade to version 4.2.2 or later. This update includes the necessary fixes to prevent the execution of malicious scripts. It is recommended to update the Subrion installation as soon as possible to mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for intelliants/subrion.

How To Fix

Minimum fixed version

4.2.2

This is the first release that contains the fix.

composer require intelliants/subrion:4.2.2

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