Vulnerability DatabaseGHSA-46jc-m2hq-v399

GHSA-46jc-m2hq-v399: 
PHP vulnerability analysis and mitigation

Summary

wallabag has a SSRF / CWE-918 issue in download images locally, entry save, imports that create entry HTML, API content injection. DownloadImages fetches image URLs extracted from stored entry HTML through an HTTP client that lacks the SSRF protections used by the main article fetch path. This summary is defensive and intentionally omits exploit instructions.

Impact

When the global setting to download images locally is enabled, an authenticated user can cause the wallabag backend to send HTTP(S) GET requests to attacker-controlled destinations. The downloader accepts image URLs from saved entry HTML and preview-image metadata, but does not block private, loopback, link-local, or reserved network destinations. It also follows redirects without validating each destination. A public URL can therefore redirect to a private service reachable from the wallabag server. The setting is disabled by default and only a super administrator can enable it. Once it is enabled, the attacker only needs a normal authenticated account. Most requests are blind, but a response accepted as an image can be stored under a web-accessible local path and referenced by the entry. Raster images are re-encoded and SVG images are sanitized before storage; no separate SVG XSS impact has been established.

Affected versions

wallabag versions 2.2.0 through 2.6.15 are affected. The unreleased master branch also remains affected. No downloader exists in release 2.1.6.

Patched versions

wallabag 2.6.16

Workarounds

Keep local image downloading disabled. As defense in depth, restrict wallabag's outbound network access so it cannot reach private, loopback, link-local, reserved, or cloud metadata destinations.

Technical details

The downloader processes src and descriptor-based srcset values on img elements, including a fallback img nested in picture, and separately processes the entry preview-image URL. It does not extract source srcset or CSS background URLs. Relative URLs are resolved against the entry URL. The locked clients restrict requests to HTTP and HTTPS, so file: and gopher: URLs are not usable through the supported stacks. However, the image clients do not validate resolved or connected IP addresses, do not restrict HTTP(S) ports, do not validate redirect destinations, and do not defend against DNS rebinding. The main article fetch path uses Graby's SSRF plugin, but the image downloader uses a separate client, so those protections do not apply.

Credits

See the credits section of this advisory


Source: NVD

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-q4v7-v68c-x6hxHIGH8.7
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-46jc-m2hq-v399MEDIUM6.4
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-rr6m-92cx-w69qMEDIUM6.1
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-q2r9-jqp3-5f26MEDIUM5.4
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-9343-66h6-6cjrMEDIUM5.3
  • PHP logoPHP
  • koriym/file-upload
NoYesNov 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management