Security Resilience

CWE · MITRE source

CWE-540Inclusion of Sensitive Information in Source Code

Abstraction: Base · CVEs in our corpus: 40

The product (such as a web server or repository) provides access to source code is not intended to be accessible to users but contains sensitive information.

Last updated: 28 November 2026 15:29 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 49 mapping(s) from 4 framework(s): ATT&CK 36 (full) · ISO_IEC_27002_2022 9 (mostly) · 800-53 3 (mostly) · 1 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A01:2025 Broken Access Control.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • IR-9 Information Spillage Response
  • SA-21 Developer Screening
  • SC-38 Operations Security
  • PR.PS-06
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (3)

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
IR-9Information Spillage ResponseIRDetection and removal of spilled information addresses cases where sensitive data was included in source code.
SA-21Developer ScreeningSAScreening helps prevent intentional insertion of sensitive information into source code by untrusted developers.
SC-38Operations SecuritySCPrevents inclusion of sensitive information in source code and development artifacts through SDLC-wide OPSEC controls.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2026-843907.39.80.00522026-09-11
CVE-2025-26013 6.48.20.00732025-02-21
CVE-2025-49182 6.17.50.01212025-06-12
CVE-2024-1272 6.07.50.00732024-06-05
CVE-2024-38647 6.07.50.00862024-11-22
CVE-2026-4155 6.07.50.00872026-04-11
CVE-2026-781925.97.50.00512026-10-31
CVE-2026-45728 5.87.50.00422026-05-26
CVE-2026-735915.87.50.00432026-09-23
CVE-2021-28805 5.77.80.00242021-06-11
CVE-2026-1030965.77.50.00242026-10-02
CVE-2026-1030975.77.50.00242026-10-02
CVE-2023-39250 5.67.80.00172023-08-16
CVE-2021-34638 5.46.50.01332021-08-05
CVE-2024-38327 5.36.80.00662025-07-10
CVE-2026-35383 5.26.50.00562026-04-02
CVE-2024-2265 4.75.30.01062024-03-07
CVE-2023-23448 4.65.30.00862023-05-15
CVE-2023-30802 4.65.30.00812023-10-10
CVE-2024-35144 4.55.30.00572025-01-25
CVE-2025-0923 4.55.30.00542025-06-11
CVE-2026-16581 4.45.30.00382026-07-28
CVE-2021-34744 4.14.90.00752021-10-06
CVE-2021-34757 4.14.90.00622021-10-06
CVE-2021-1516 3.94.30.01042021-05-06