Moderate severityOSV Advisory· Published Nov 27, 2025· Updated Dec 16, 2025
CVE-2025-3261
CVE-2025-3261
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.thingsboard:applicationMaven | < 4.2.1 | 4.2.1 |
Affected products
1- Range: v1.0, v1.2.1, v1.3.1, …
Patches
1b2ae6f92d122added Content-Security-Policy header to download image api to prevent malicious code injection
1 file changed · +1 −0
application/src/main/java/org/thingsboard/server/controller/ImageController.java+1 −0 modified@@ -300,6 +300,7 @@ private ResponseEntity<ByteArrayResource> downloadIfChanged(ImageCacheKey cacheK tbImageService.putETag(cacheKey, descriptor.getEtag()); var result = ResponseEntity.ok() .header("Content-Type", descriptor.getMediaType()) + .header("Content-Security-Policy", "default-src 'none'") .eTag(descriptor.getEtag()); if (!cacheKey.isPublic()) { result
Vulnerability mechanics
Not enough inputs (no patches or CWE) to synthesize mechanics for this CVE.
References
4News mentions
0No linked articles in our index yet.