Skip to content

If errors returned from MarshalJSON methods contain user...

Unreviewed Published Mar 6, 2024 to the GitHub Advisory Database • Updated May 1, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.

References

Published by the National Vulnerability Database Mar 5, 2024
Published to the GitHub Advisory Database Mar 6, 2024
Last updated May 1, 2024

Severity

Unknown

EPSS score

0.044%
(12th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2024-24785

GHSA ID

GHSA-j6m3-gc37-6r6q

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.