-
Notifications
You must be signed in to change notification settings - Fork 92
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sub dependency is vulnerable #59
Comments
This isn’t actually a vulnerability for this package (npm audit has lots of false positives). See #35 for why upgrading is prohibitively difficult. |
A dependency of a dependency isn't your fault, but it's still your problem. Why would this be considered a false positive? I don't think this should be closed. |
@cdeutsch it's a false positive because the warning is for a DOS attack - which isn't possible in this case because you'd be attacking yourself. That's no more an attack than typing |
Hi there! Was going to use this package for a project but noticed the following 2 vulnerabilities appeared through npm's audit:
The first vulnerability seems identical to OP's, but the second one hasn't been documented so far. |
In both cases, they’re false positives since you’ll be transforming your own code. |
Thanks for replying! much appreciated. That said I still don't quite understand what you're saying. This is a Babel plugin, so it leverages Babel's AST for transforming our code to some desirable target (in this case a React component with inlined |
No, that’s not what the audit report is about - it’s about the svg being transformed being able to inject malicious code. Since you’re transforming your own svgs, all you have to do is not put malicious code in them :-) |
Hi
You might want to upgrade
svgo
for the following flaw:The text was updated successfully, but these errors were encountered: