You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
next.config.ts enables dangerouslyAllowSVG without the companion contentSecurityPolicy/contentDispositionType hardening Next.js recommends for it #266
Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentationhelp wantedExtra attention is neededsecuritySecurity-related issuevery hardVery difficult task, expert-level effort required
dangerouslyAllowSVG is named the way it is because an SVG served through Next's image
optimizer can contain embedded <script>/event-handler content, which is a real XSS
vector if that SVG is ever served with a content type or disposition that lets a browser
execute it as an active document rather than a passive image. Next.js's own documentation
for this exact flag recommends pairing it with two other config fields specifically built
for this: images.contentSecurityPolicy (a CSP applied to the optimizer's own image
responses, e.g. "default-src 'self'; script-src 'none'; sandbox;") and images.contentDispositionType (set to "attachment" so a browser navigated directly to
the optimized image URL downloads it rather than rendering it inline).
Neither field is set here. This app already allowlists exactly two trusted SVG sources
via remotePatterns (api.dicebear.com's generated identicons), which meaningfully
narrows the risk, but the two Next-provided hardening options that specifically exist to
mitigate dangerouslyAllowSVG's namesake danger are both left at their permissive
defaults regardless.
Suggested fix: add images.contentSecurityPolicy and images.contentDispositionType: "attachment" to the images config, matching Next.js's
own documented recommendation for any app that enables dangerouslyAllowSVG.
@KingDavid9999 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hi maintainer, I'd very much appreciate the opportunity to work on this issue.
Having reviewed the acceptance criteria, I'm confident that I'd be able to have a PR up shortly after being assigned.
Kindly assign this issue to me.
Thank you!
@DatboiCaleb has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hi Good day Maintainer
I’m a smart contract and full-stack developer who turns complex ideas into secure, production-ready blockchain code. With strong skills in Rust and Solidity, I build systems that are fast, safe, and built to last.
My experience with the Stellar SDK and Soroban lets me ship real-world Web3 solutions that actually move value.
Congratulations, @boys-cyberhub! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @boys-cyberhub: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @boys-cyberhub: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentationhelp wantedExtra attention is neededsecuritySecurity-related issuevery hardVery difficult task, expert-level effort required
Activity
SMOGZ6783 commentedon Aug 25, 2026
@SMOGZ6783 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @SMOGZ6783 to this issue.
Gonness-Codes commentedon Aug 25, 2026
@Gonness-Codes has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Gonness-Codes to this issue.
KingDavid9999 commentedon Aug 25, 2026
@KingDavid9999 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @KingDavid9999 to this issue.
DatboiCaleb commentedon Aug 25, 2026
@DatboiCaleb has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @DatboiCaleb to this issue.
boys-cyberhub commentedon Aug 25, 2026
@boys-cyberhub has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @boys-cyberhub to this issue.
drips-wave commentedon Aug 25, 2026
Congratulations, @boys-cyberhub! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @boys-cyberhub: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
grantfox-oss commentedon Aug 25, 2026
🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!
@boys-cyberhub's PR #326 was approved and merged by @chonilius.
🏆 @boys-cyberhub: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (818 total points). Track your full progress on GrantFox.
👏 Great work, @boys-cyberhub! Keep contributing to MergeFi.
drips-wave commentedon Aug 25, 2026
This issue has been completed by @boys-cyberhub as part of the Stellar Wave Program's 8th Wave 🥳
😎 @boys-cyberhub: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.