Zum Hauptinhalt springen
LIVE
CVSS 7.3CVE-2026-138162 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.CVSS 8.5CVE-2026-138163 | Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.CVSS 4.8CVE-2026-138164 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.CVSS 9.3CVE-2026-138154 | POSTAL 2 before build 26810491 contains a sandbox escape vulnerability that allows malicious Steam Workshop mods to execute code by calling ConsoleCommand with a start file URI. Attackers can ship a batch file in a mod at the predictable workshop install path and launch it via ShellExecuteW, executing commands as the player on Windows.CVSS 8.5CVE-2026-138117 | HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models.CVSS 8.5CVE-2026-138118 | HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.CVSS 8.7CVE-2026-138119 | Kestra before 1.3.36 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to execute JavaScript by injecting HTML into the executions page sort parameter. Attackers can lure logged-in users to a crafted link whose invalid sort value is rendered unsanitized in an error toast, stealing the non-HttpOnly BASIC_AUTH credential cookie to take over the instance.CVSS 6.9CVE-2026-138120 | Kestra 1.3.24 before 2.0.0 contains a timing side-channel vulnerability in BasicAuthService.isAuthenticated() that allows unauthenticated attackers to enumerate the administrator username. Attackers can send Basic-auth requests with candidate usernames to protected API endpoints and detect slower bcrypt checks to identify the valid account for password guessing.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Convert a JSON API Response to Excel: 3 Ways (No-Code, Python, Power Query)

You call an API, get back JSON, and someone non-technical asks for it "in Excel." Here are three ways to do that — pick based on whether it's a one-off or a r…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 3 Min. Lesezeit
Quelle: dev.to
Rubrik: Secure Programming

You call an API, get back JSON, and someone non-technical asks for it "in Excel." Here are three ways to do that — pick based on whether it's a one-off or a repeatable pipeline — plus the part everyone trips on: nested objects.






The sample data






[
{ "id": 1, "name": "Ada", "address": { "city": "London", "zip": "EC1" }, "roles": ["admin", "editor"] },
{ "id": 2, "name": "Alan", "address": { "city": "Oxford", "zip": "OX1" }, "roles": ["viewer"] }
]






The catch: address is a nested object and roles is an array. Neither drops cleanly into a flat spreadsheet cell — address has to become address.city / address.zip columns, and you have to decide what to do with the list.






Way 1 — No-code (fastest for a one-off)



Paste the JSON into a converter and export. I use SwitchPDF's JSON tool: it shows a live table preview, auto-flattens nested objects into dot-notation columns, and exports .xlsx, .csv, or a styled PDF. No signup, no watermark. The export is processed server-side in memory and discarded right after — nothing's stored beyond a short-lived file.



Best when you just need the file now and don't want to write code.






Way 2 — Python (best for a repeatable script)



pandas handles the flattening with json_normalize:




import pandas as pd
import requests

data = requests.get("https://api.example.com/users").json()

df = pd.json_normalize(data) # address.city, address.zip become columns
df.to_excel("users.xlsx", index=False)






For deeper nesting, control the separator and depth:




df = pd.json_normalize(data, sep=".", max_level=2)






The array gotcha: json_normalize flattens nested objects but leaves lists (like roles) as a single cell. Two common fixes:




# Option A: keep one row per record, join the list into one cell
df["roles"] = df["roles"].apply(lambda r: ", ".join(r))

# Option B: one row per role (explode the list)
df = df.explode("roles")









Way 3 — Excel Power Query (no code, stays in Excel)





  1. Data → Get Data → From File → From JSON (or From Web for a live URL).

  2. In the Power Query editor, click the expand icon on the record/list columns to flatten them.

  3. Close & Load.



It refreshes on demand, which makes it the right pick for a recurring report.






Which should you use?
























Situation Use
One-off, want the file now Way 1 (converter)
Part of a script / pipeline Way 2 (pandas)
Recurring report, Excel-native team Way 3 (Power Query)


If your JSON is deeply nested or the shape is inconsistent across records, json_normalize gives you the most control. For a quick hand-off to a non-technical person, the no-code converter is the least friction.






What's your go-to for JSON → Excel? Drop it in the comments — always curious what edge cases people hit.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Community Rating & Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

2 Cluster
Similar posts
🔍 Verwandte News

Auch interessante Nachrichten Convert a JSON API Response to Excel: 3 Ways (No-Code, Python, Power Query)

Thematisch verwandte Begriffe: Convert, JSON, Response, Excel · 6 Treffer

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

💬 Loading comments…
Pull to refresh
Widgets & Topics
Loading widgets…
Nächster Beitrag