LLMs Technical Reviews

OWASP Data Security Top 10 2025

A short, generic data-protection checklist from an OWASP incubator project; fine as an awareness list, but it states no method or date and its CWE mappings are loose.

official page ↗OWASP Data Security Top 10 projectedition 2025incubator project10 itemssource www-project-data-security-top-10 @ 762fdfc

Items at a glance

What this list is

The OWASP Data Security Top 10 2025 comes from the OWASP Data Security Top 10 project, an incubator-level documentation project. The project news says it was proposed in May 2021 at OWASP Global AppSec Tel Aviv. The repository holds two versions of the content. The project page gives ten one-line risks. A “details” tab gives, for each risk, a short explanation, one example, a handful of CWE identifiers and three or so remediation bullets. That is the whole list. The per-item links on the project page point to pages that are not in the repository, and so does the PDF download link.

No release date is given. The news tab’s latest entry announces a “2023 Release Candidate” in June 2023, yet the page labels the list 2025, and the repository declares neither draft nor final. Read it as a working incubator document, not a reviewed release.

The scope is general data protection, at rest and in transit, for any organisation. Nothing in it is specific to web apps, cloud or AI, despite the project’s “cloud” tags. Its sibling, the OWASP GenAI Data Security Risks and Mitigations 2026, says explicitly that it does not replace this list. That catalogue covers data in LLM, RAG and agent pipelines; this one covers the classic ground, and overlaps heavily with the OWASP Top 10 2025 web list.

How it was made

The source does not say. There is no mention of data collection, a survey, a vote or incident analysis, and no explanation of the order. The acknowledgements list a founder, and the contributors table still holds the template placeholder “Name, Company”. The roadmap tab still lists the Top 10 itself under “Planned Projects”, spelled “Data Security Security Top 10”. Treat the list as one practitioner’s checklist that has not been through a documented review.

The items

DATA1:2025 Injection Attacks

What it is. Untrusted input reaches an interpreter and runs as code or commands. The details tab names SQL injection, command and OS command injection, cross-site scripting and missing output encoding.

How it shows up. In a multi-tenant SaaS the classic case is a report or export endpoint that builds its WHERE tenant_id = … clause by string concatenation, so one crafted filter returns every tenant’s rows. LLM systems add a path the source does not mention: a text-to-SQL feature where the model writes the query, so a prompt or a poisoned document becomes the injection payload.

What to do. Use parameterised queries or an ORM’s bind variables everywhere, validate input against allow-lists, and encode output for its context (HTML, attribute, URL). Connect with a database role that cannot read other tenants’ data, so a missed injection has limits. The source lists a web application firewall as one of three remediations; treat it as a backstop, not a fix. To test, combine static analysis that flags string-built queries with dynamic scans that send injection payloads to every parameter, including JSON bodies and headers.

Related: A05:2025 Injection, CWE-89 Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’), LLM01:2026 Prompt Injection, DSGAI12 Unsafe Natural-Language Data Gateways (LLM-to-SQL/Graph).

DATA2:2025 Broken Authentication and Access Control

What it is. Two web Top 10 categories folded into one: weak proof of identity and weak checks on what an identity may do. The details tab cites improper authentication, improper authorization and hard-coded credentials.

How it shows up. GET /api/invoices/1043 returns another customer’s invoice because the handler checks that the user is logged in but not that the invoice is theirs. An admin route checks the role in the front end only. A tenant ID is taken from the request body instead of the session. A service holds a hard-coded database password.

What to do. Put one server-side authorization check on every object access, deny by default, and derive tenant and user from the session. Offer MFA or passkeys, and handle sessions with expiry and rotation. One remediation in the source is out of date: it recommends “regular password updates”. Current guidance in NIST SP 800-63B advises against forced periodic changes; check new passwords against breached-password lists and favour length instead. To test, run a two-account matrix: call every endpoint with user A’s session against user B’s object IDs, and expect a 403 or 404 each time.

Related: A01:2025 Broken Access Control, A07:2025 Authentication Failures, API1:2023 Broken Object Level Authorization, CWE-862 Missing Authorization, NHI4:2025 Insecure Authentication.

DATA3:2025 Data Breaches

What it is. Sensitive data is disclosed or stolen. Unlike the other items this is an outcome, not a weakness: almost every other entry on the list is a way to get here. The details tab maps it to information exposure and missing encryption, and recommends patching, intrusion detection and encryption.

How it shows up. A support tool account is phished and used to export the customer table. A forgotten replica with real data sits on a public network. A verbose API returns full customer records where the client needed two fields.

What to do. Read this item as “limit what can leave, and notice when it does”. Keep less data, encrypt the most sensitive fields at the application layer so a database dump is not enough, return only the fields the caller needs, and watch egress for bulk exports. Write the breach-response plan before you need it, including notification deadlines. To test, run a tabletop: if the support tool account were taken over today, which data could leave, and which alert would fire?

Related: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor, API3:2023 Broken Object Property Level Authorization, LLM02:2026 Sensitive Information Disclosure, DSGAI01 Sensitive Data Leakage.

DATA4:2025 Malware and Ransomware Attacks

What it is. Malicious software that steals, encrypts or destroys data, delivered by email attachments, malicious websites or infected software. The source’s remediations are antivirus, user awareness and backups.

How it shows up. For a SaaS company the damaging case is rarely one laptop. An attacker who gets an admin’s session or a cloud key encrypts or deletes production databases, and also deletes the backups, because the same credentials can reach them. Then the attacker threatens to publish the copy they took first.

What to do. Keep backups that the production credentials cannot delete: immutable storage, a separate account, separate admin identities with MFA. Run restore drills on a schedule, timed against a recovery objective. Run endpoint detection on admin and developer machines, and keep systems patched. To test, assume a production admin credential is stolen and try to delete or overwrite a backup with it; then restore a full environment from backup and time it. The CWE mapping here (code generation, buffer copy, embedded malicious code) describes code flaws, not how malware gets in, and adds little.

Related: ISR01:2024 Outdated Software, A03:2025 Software Supply Chain Failures, DSGAI17 Data Availability & Resilience Failures in AI Pipelines.

DATA5:2025 Insider Threats

What it is. Employees or contractors who already have access misuse or expose data, on purpose (selling records) or by mistake (sending a file to the wrong person).

How it shows up. A support agent browses customer records with no open ticket. An engineer with standing read access to production exports a table “for analysis” to a personal tool. A labelling or quality-review team sees full customer chats when it needed only the tone.

What to do. Remove standing access to production data and grant it just in time, tied to a ticket. Build support tools that show only the fields a task needs. Log reads, not only writes, and review bulk reads. Put data loss prevention on outbound mail and uploads. To test, ask two questions: can a support agent open any customer record without a ticket reference, and who last reviewed the production data access log? The CWE choices in the source (insufficiently protected credentials, deserialization of untrusted data) do not describe insider risk.

Related: DSGAI19 Human-in-the-Loop & Labeler Overexposure, DSGAI14 Excessive Telemetry & Monitoring Leakage, NHI10:2025 Human Use of NHI.

DATA6:2025 Weak Cryptography

What it is. Encryption that does not protect: broken or weak algorithms, short keys, reused nonces, default or guessable keys, poor key management, or no encryption at all.

How it shows up. TLS 1.0 still enabled on an old API host. AES in ECB mode, or GCM with a fixed nonce, in a home-made token format. An encryption key stored next to the data it protects. The source’s own example, passwords stored with weak encryption, blurs a distinction worth keeping: passwords should not be encrypted at all but hashed with a slow password-hashing function such as Argon2id, scrypt or bcrypt.

What to do. Use TLS 1.2 or later everywhere, authenticated encryption with unique nonces, and keys held in a key management service with rotation and access logging. Do not write your own cryptographic constructions. To test, run a TLS configuration scanner against every endpoint, search the code base for MD5, SHA-1, ECB and hard-coded keys, and check who can call decrypt on each key. Note that the project page’s link for this item uses the slug “weak-encryption” while the name says cryptography.

Related: A04:2025 Cryptographic Failures, M10 Insufficient Cryptography, ISR05:2024 Insecure Use of Cryptography.

DATA7:2025 Insecure Data Handling

What it is. Mistakes across the data lifecycle: storing sensitive data in plaintext, sending it over unencrypted channels, and failing to dispose of it when it is no longer needed.

How it shows up. A CSV export of customers lands in a storage bucket with public read. Production data is copied into staging without masking. A “deleted” account survives in backups, the search index and analytics. With LLM features, the same customer also survives in embeddings, prompt logs and traces. The details tab lists CWE-315 as “Cross-Site Scripting”; CWE-315 is in fact cleartext storage of sensitive information in a cookie, which fits the item, but the label is wrong.

What to do. Define retention per data class and enforce it with automation, including on backups, replicas, indexes and logs. Encrypt at rest and in transit. Mask or synthesise data before it reaches non-production. To test, create a test customer with a unique marker string, delete the account through the normal flow, and then search for the marker in the database, backups, logs, search index and any vector store.

Related: M9 Insecure Data Storage, 7 Sensitive Data Stored Client-Side, DSGAI07 Data Governance, Lifecycle & Classification for AI Systems.

DATA8:2025 Inadequate Third-Party Security

What it is. Vendors and integrations with weak security open a path to your data. The source’s example is a third-party software component with known vulnerabilities, while its remediations are vendor assessments, a vendor risk programme and contract terms. That mixes two different problems, component supply chain and vendor risk.

How it shows up. A support-desk vendor is breached and your ticket attachments go with it. A marketing tool syncs your full customer table when it needs email addresses only. An integration holds a database credential with write rights. A sub-processor is added without anyone mapping what data it receives.

What to do. Keep a data-flow inventory per vendor: which data, where it is stored, for how long. Share the minimum, and give each integration its own scoped, short-lived credential so that a vendor breach has limits. Put breach notification and deletion-on-exit in the contract. For components, track dependencies with an SBOM and patch on a deadline. To test, compare your sub-processor list with the destinations that actually appear in egress logs.

Related: NHI3:2025 Vulnerable Third-Party NHI, API10:2023 Unsafe Consumption of APIs, A03:2025 Software Supply Chain Failures, DSGAI03 Shadow AI & Unsanctioned Data Flows.

DATA9:2025 Data Inventory and Data Management

What it is. You cannot protect data you do not know you hold. An incomplete or wrong inventory of systems and data, and weak data management, leave unknown stores unprotected. The source names this item two ways: “Data Inventory and Data Management” on the project page and “Cyber Asset Inventory and Data Management” on the details tab. The content is the same.

How it shows up. An analytics replica from a past migration still holds full customer data. A data team spins up its own warehouse. An old bucket from a proof of concept is still reachable. A new vector store built from support tickets never enters the data catalogue.

What to do. Run automated discovery of storage resources across all cloud accounts, classify each store by sensitivity, and require an owner and a retention rule for each. Tie the inventory to provisioning so new stores are registered when they are created. To test, compare the list of storage resources in your cloud accounts with the data catalogue. Any store with no owner or no classification is a finding.

Related: API9:2023 Improper Inventory Management, ISR10:2024 Insufficient Asset Management and Documentation, DSGAI07 Data Governance, Lifecycle & Classification for AI Systems.

DATA10:2025 Non-Compliance with Data Protection Regulations

What it is. Failing to meet data protection law, industry standards or contracts. The example is a company that collects customer data without meeting GDPR requirements on consent, data subject rights or security. Most of the eight remediation bullets are process: know the rules, assess gaps, write policies, train, audit, get counsel, keep records.

How it shows up. An erasure request is honoured in the main database but not in backups, logs or a data warehouse. A new feature reuses data for a purpose the privacy notice never mentioned. Records of processing do not list a new sub-processor.

What to do. Keep records of processing that match real data flows, run data protection impact assessments before new processing, and build data subject request workflows that reach every copy. Tie consent and purpose to the data so new uses are checked. To test, run a real access request and a real erasure request end to end on a test identity and verify every system the data reached. The CWE mapping (hard-coded password, cleartext storage, exposure of private personal information) is a loose fit; only the last one is about privacy.

Related: M6 Inadequate Privacy Controls, DSGAI08 Non-Compliance & Regulatory Violations, DSGAI07 Data Governance, Lifecycle & Classification for AI Systems.

What changed

There is no earlier edition on this site to compare with. The project news announced a “Data Security Top 10 2023 Release Candidate” in June 2023, but the repository holds no 2023 text, so it is not possible to say what moved between that candidate and the list now labelled 2025. The newest change in the repository is a README that repeats the project page.

The closest relative is the OWASP GenAI Data Security Risks and Mitigations 2026, a separate project with 21 entries on data in LLM, RAG and agent pipelines. That document states that it does not replace this list, so the two are meant to sit side by side: this one for classic data protection, the GenAI catalogue for AI pipelines.

What it misses

  • Method. Nothing says how the ten risks were chosen or ordered.
  • Causes mixed with outcomes and threat classes. DATA3 (breaches) is the result of the other items. DATA4 (malware) and DATA5 (insiders) are threat actors and tools, not weaknesses. DATA10 (non-compliance) is a consequence. Only about half the entries describe a control you can test.
  • CWE mappings. Several do not fit: deserialization under insider threats, buffer overflow and code generation under malware, a hard-coded password under regulatory non-compliance. CWE-315 is labelled “Cross-Site Scripting”, which is wrong. The titles use old CWE names (“Information Exposure”).
  • Dated advice. Forced periodic password changes (DATA2), a WAF as a primary injection control (DATA1), and “encrypting” passwords (DATA6).
  • Cloud and modern stacks. Despite the “cloud” tags there is nothing on public storage buckets, cloud IAM misconfiguration, key management services, data in SaaS tools, or data used by AI systems.
  • Detection and availability. There is no item on logging or exfiltration detection, and backup and resilience appear only as a ransomware remediation.
  • Housekeeping. Item 9 has two names. Item links and the PDF download point to files not in the repository. The DATA6 link slug says “encryption”. The contributors table is a placeholder, and the roadmap still lists the Top 10 as planned.

Our take

Use this list as a one-page awareness checklist for people new to data protection, or as a quick sanity check that a data security policy names the basics. Do not use it to build test plans, threat models or procurement questions. Its entries are too broad and its mapping too loose for that. For application controls, prefer the OWASP Top 10 2025 and the API Security Top 10 2023; for credentials, the NHI Top 10; for anything that touches an LLM, the GenAI Data Security catalogue. It is an incubator document without a stated method or date, and it reads that way.

Item codes and names are from “OWASP Data Security Top 10 2025” by OWASP Data Security Top 10 project, licence: CC BY-SA 4.0. Read the official text before relying on a detail. The review text on this page is ours.