Content Spoofing Vulnerability in Angular.js - DEBIAN-CVE-2024-8373

angular.js Updated 02 Oct 2025

Summary

09/09/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-8373: Improper sanitization of the value of the [srcset] attribute in HTML elements in AngularJS allows attackers to bypass common image source restrictions, which can also lead to a form of Content Spoofing https://owasp.org/... Affects angular.js versions < 1.8.3-1+deb12u1~deb11u1. Fixed in 1.8.3-1+deb12u1~deb11u1. 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

Angular.js is a widely-used JavaScript framework designed for building dynamic web applications. It provides a robust structure for developing single-page applications, enabling developers to create rich user interfaces with ease. However, Angular.js has reached its End-of-Life status, meaning it will no longer receive updates or security patches, leaving existing vulnerabilities unaddressed.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2024-8373 arises from improper sanitization of the 'srcset' attribute in <source> HTML elements within AngularJS. This flaw allows attackers to bypass standard image source restrictions, potentially leading to content spoofing attacks. Such attacks can mislead users by displaying deceptive content, undermining the integrity of the web application. This issue affects all versions of AngularJS, and since the project is no longer maintained, it poses a significant risk to applications relying on this framework.

How To Fix

Minimum fixed version

1.8.3-1+deb12u1~deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade angular.js

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

Workaround

As a temporary measure, consider implementing strict content security policies (CSP) to mitigate the risk of content spoofing. This can help limit the sources from which images can be loaded, reducing the attack surface until a proper fix is applied.

Conclusion

The DEBIAN-CVE-2024-8373 vulnerability in Angular.js poses a significant risk due to improper sanitization of the 'srcset' attribute. With Angular.js being End-of-Life, it is crucial for developers to update to the latest patched versions or implement workarounds to protect their applications from potential content spoofing attacks.

See every vulnerability recorded for angular.js →

Share this vulnerability

FAQ

The vulnerability allows attackers to bypass image source restrictions, leading to potential content spoofing.

All versions of Angular.js are affected by this vulnerability.

Yes, patched versions are available for Debian 11, 13, and 14.

Implement strict content security policies as a temporary workaround to mitigate risks.

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

Related vulnerabilities

Recent vulnerabilities recorded for angular.js.

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

1.8.3-1+deb12u1~deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade angular.js

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