Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove _.template JSDoc examples from lodash.js to prevent false posi…#5997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
MikeTheCyberGuy wants to merge1 commit intolodash:main
base:main
Choose a base branch
Loading
fromMikeTheCyberGuy:main

Conversation

MikeTheCyberGuy
Copy link

…tive source disclosure findings

Removed the JSDoc comment block for the _.template function from lodash.js. The documentation included usage examples such as <% print("hello " + user); %> and <%- value %>, which are detected by security scanners (e.g., Burp Suite) as potential ASP Classic or server-side template source code disclosure, resulting in persistent false positive findings during automated scans.

While this is not an actual vulnerability, the comment block triggers unnecessary alerts and adds overhead to remediation workflows. The removal is limited to documentation comments only and does not affect lodash’s runtime functionality.

This change reduces noise in security reports and simplifies compliance reviews without impacting the library’s intended behavior.

…tive source disclosure findingsRemoved the JSDoc comment block for the _.template function from lodash.js. The documentation included usage examples such as <% print("hello " + user); %> and <%- value %>, which are detected by security scanners (e.g., Burp Suite) as potential ASP Classic or server-side template source code disclosure, resulting in persistent false positive findings during automated scans.While this is not an actual vulnerability, the comment block triggers unnecessary alerts and adds overhead to remediation workflows. The removal is limited to documentation comments only and does not affect lodash’s runtime functionality.This change reduces noise in security reports and simplifies compliance reviews without impacting the library’s intended behavior.
Copy link

@Gb2realGb2real left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Completely agree with the statement of fact

MikeTheCyberGuy reacted with thumbs up emoji
* object is given, it takes precedence over `_.templateSettings` values.
*
* **Note:** In the development build `_.template` utilizes
* [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Complete with all the details and information about this event

@Gb2real
Copy link

Please merge immediately thank you

MikeTheCyberGuy reacted with thumbs up emojiMikeTheCyberGuy reacted with hooray emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@Gb2realGb2realGb2real approved these changes

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@MikeTheCyberGuy@Gb2real

[8]ページ先頭

©2009-2025 Movatter.jp