Moderate Security Vulnerability in GCC: Untrusted Code Execution via HTML Manipulation

gcc Updated 02 Oct 2025

Summary

17/03/2025
N/A
Yes i
Unrated
Not published

RLSA-2025:1346: Moderate: gcc security update. Affects gcc versions < 0:11.5.0-5.el9_5. Fixed in 0:11.5.0-5.el9_5. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The GCC (GNU Compiler Collection) is a suite of compilers for various programming languages including C, C++, Java, Fortran, Objective C, and Ada 95. It is widely used in software development for compiling source code into executable programs. The recent security update addresses a vulnerability that allows untrusted code execution through the manipulation of HTML elements, specifically the <option> tag, which can lead to potential security risks in applications that utilize these compilers.

Vulnerability Detail

The vulnerability identified as CVE-2020-11023 allows for untrusted code execution via the <option> tag in HTML when passed to DOM manipulation methods. This can lead to malicious code being executed in the context of the user's browser, potentially compromising user data and application integrity. The issue arises from improper handling of user input in web applications that utilize the GCC for compiling code, making it critical for developers to address this vulnerability promptly.

How To Fix

Minimum fixed version

0:11.5.0-5.el9_5

This is the first release that contains the fix.

sudo dnf update gcc

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

Workaround

As a temporary workaround, developers can sanitize user inputs to prevent the execution of untrusted code. This can be done by validating and escaping any HTML content before it is processed by DOM manipulation methods. For example, using libraries like DOMPurify can help ensure that only safe HTML is rendered.

Conclusion

The GCC security update addresses a significant vulnerability that can lead to untrusted code execution through HTML manipulation. It is crucial for developers to update their GCC packages to the latest version and implement necessary security measures to protect their applications from potential exploits.

See every vulnerability recorded for gcc →

Share this vulnerability

FAQ

The impact includes potential untrusted code execution, which can lead to data breaches and compromised application security.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software by analyzing your manifest file.

If an immediate update is not possible, implement input validation and sanitization to mitigate the risk of code execution.

Yes, versions prior to 0:11.5.0-5.el9_5 are affected by this vulnerability.

Detailed information can be found on the CVE page for CVE-2020-11023 and through security advisories from the Rocky Enterprise Software Foundation.

Related vulnerabilities

Recent vulnerabilities recorded for gcc.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0:11.5.0-5.el9_5

This is the first release that contains the fix.

sudo dnf update gcc

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