Skip to main content
CVE-2024-8372VulnerabilityPublished Updated

Angular.js: Improper sanitization of the value of the 'srcset' attribute in AngularJS allows attackers to bypass

Affects angular.jsSource GCVE Database

0
Compare
Authoritative record:CVE-2024-8372· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium · fixed in 1.5.10-1ubuntu0.1~esm1 : update angular.js when convenient.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (HeroDevs)CVSS 3.14.8
Patch
Available – fixed in 1.5.10-1ubuntu0.1~esm1, 1.7.9-1ubuntu0.1~esm1, 1.8.2-2ubuntu0.1 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=nobleOther threatsAffected
  • <1.8.3-1ubuntu0.24.04.1
Fixed in
  • 1.8.3-1ubuntu0.24.04.1
Ubuntu 22.04 LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=jammyOther threatsAffected
  • <1.8.2-2ubuntu0.1
Fixed in
  • 1.8.2-2ubuntu0.1
Ubuntu Pro 20.04 LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.7.9-1ubuntu0.1~esm1
Fixed in
  • 1.7.9-1ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.5.10-1ubuntu0.1~esm1
Fixed in
  • 1.5.10-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Improper sanitization of the value of the 'srcset' attribute in AngularJS allows attackers to bypass common image source restrictions, which can also lead to a form of Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing . This issue affects AngularJS versions 1.3.0-rc.4 and greater. Note: The AngularJS project is End-of-Life and will not receive any updates to address this issue. For more information see here https://docs.angularjs.org/misc/version-support-status .

References

Community reviews

Loading reviews…