DirectorySecurity Advisories
Sign In
Security Advisories

CGA-h5fv-hr9h-h8c2

Published

Last updated

https://images.chainguard.dev/security/CGA-h5fv-hr9h-h8c2
Package

gitlab-rails-ee-fips-17.2

Latest Update
Not affected
Aliases
  • CVE-2015-8861
  • GHSA-9prh-257w-9277

Severity

6.1

Medium

CVSS V3

Summary

Cross-Site Scripting in handlebars

Description

Versions of handlebars prior to 4.0.0 are affected by a cross-site scripting vulnerability when attributes in handlebar templates are not quoted.

Proof of Concept

Template: <a href={{foo}}/>

Input: { 'foo' : 'test.com onload=alert(1)'}

Rendered result: <a href=test.com onload=alert(1)/>

Recommendation

Update to version 4.0.0 or later. Alternatively, ensure that all attributes in handlebars templates are encapsulated with quotes.

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images